|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProtocolException | |
---|---|
com.google.bitcoin.core |
Uses of ProtocolException in com.google.bitcoin.core |
---|
Methods in com.google.bitcoin.core that throw ProtocolException | |
---|---|
Message |
BitcoinSerializer.deserialize(InputStream in)
Reads a message from the given InputStream and returns it. |
void |
UnknownMessage.parse()
|
protected void |
PeerAddress.parse()
|
void |
VersionMessage.parse()
|
void |
ListMessage.parse()
|
Message |
NetworkConnection.readMessage()
Reads a network message from the wire, blocking until the message is fully received. |
Constructors in com.google.bitcoin.core that throw ProtocolException | |
---|---|
Block(NetworkParameters params,
byte[] payloadBytes)
Constructs a block object from the BitCoin wire format. |
|
GetDataMessage(NetworkParameters params,
byte[] payloadBytes)
|
|
InventoryMessage(NetworkParameters params,
byte[] bytes)
|
|
ListMessage(NetworkParameters params,
byte[] bytes)
|
|
NetworkConnection(InetAddress remoteIp,
NetworkParameters params,
int bestHeight,
int connectTimeout)
Connect to the given IP address using the port specified as part of the network parameters. |
|
PeerAddress(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion)
|
|
Transaction(NetworkParameters params,
byte[] payloadBytes)
Creates a transaction from the given serialized bytes, eg, from a block or a tx network message. |
|
Transaction(NetworkParameters params,
byte[] payload,
int offset)
Creates a transaction by reading payload starting from offset bytes in. |
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] payload,
int offset)
Deserializes an input message. |
|
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset)
Deserializes the message. |
|
TransactionOutput(NetworkParameters params,
Transaction parent,
byte[] payload,
int offset)
Deserializes a transaction output message. |
|
UnknownMessage(NetworkParameters params,
String name,
byte[] payloadBytes)
|
|
VersionMessage(NetworkParameters params,
byte[] msg)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |