Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
Modifier and Type | Class and Description |
---|---|
class |
BitcoinSerializer
Methods to serialize and de-serialize messages to the Bitcoin network format as defined in
the protocol specification.
|
Modifier and Type | Field and Description |
---|---|
protected MessageSerializer |
NetworkParameters.defaultSerializer |
protected MessageSerializer |
Message.serializer |
Modifier and Type | Method and Description |
---|---|
MessageSerializer |
NetworkParameters.getDefaultSerializer()
Return the default serializer for this network.
|
Constructor and Description |
---|
Block(NetworkParameters params,
byte[] payloadBytes,
int offset,
Message parent,
MessageSerializer serializer,
int length)
Construct a block object from the Bitcoin wire format.
|
Block(NetworkParameters params,
byte[] payloadBytes,
int offset,
MessageSerializer serializer,
int length)
Construct a block object from the Bitcoin wire format.
|
Block(NetworkParameters params,
byte[] payloadBytes,
MessageSerializer serializer,
int length)
Construct a block object from the Bitcoin wire format.
|
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
Message parent,
MessageSerializer setSerializer,
int length) |
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
MessageSerializer setSerializer,
int length) |
GetDataMessage(NetworkParameters params,
byte[] payload,
MessageSerializer serializer,
int length)
Deserializes a 'getdata' message.
|
InventoryMessage(NetworkParameters params,
byte[] payload,
MessageSerializer serializer,
int length)
Deserializes an 'inv' message.
|
ListMessage(NetworkParameters params,
byte[] payload,
MessageSerializer serializer,
int length) |
Message(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
MessageSerializer serializer,
int length) |
Message(NetworkParameters params,
byte[] payload,
int offset,
MessageSerializer serializer,
int length) |
PeerAddress(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
Message parent,
MessageSerializer serializer)
Construct a peer address from a serialized payload.
|
Transaction(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
MessageSerializer setSerializer,
int length)
Creates a transaction by reading payload starting from offset bytes in.
|
Transaction(NetworkParameters params,
byte[] payload,
Message parent,
MessageSerializer setSerializer,
int length)
Creates a transaction by reading payload.
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] payload,
int offset,
MessageSerializer serializer)
Deserializes an input message.
|
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
MessageSerializer serializer)
Deserializes the message.
|
TransactionOutput(NetworkParameters params,
Transaction parent,
byte[] payload,
int offset,
MessageSerializer serializer)
Deserializes a transaction output message.
|
Copyright © 2016. All rights reserved.