Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.jni |
Modifier and Type | Class and Description |
---|---|
class |
AddressMessage
Represents an "addr" message on the P2P network, which contains broadcast IP addresses of other peers.
|
class |
AlertMessage
Alerts are signed messages that are broadcast on the peer-to-peer network if they match a hard-coded signing key.
|
class |
Block
A block is a group of transactions, and is one of the fundamental data structures of the Bitcoin system.
|
class |
BloomFilter
A Bloom filter is a probabilistic data structure which can be sent to another client so that it can avoid
sending us transactions that aren't relevant to our set of keys.
|
class |
ChildMessage
Represents a Message type that can be contained within another Message.
|
class |
EmptyMessage
Parent class for header only messages that don't have a payload.
|
class |
FilteredBlock
A FilteredBlock is used to relay a block with its transactions filtered using a
BloomFilter . |
class |
GetAddrMessage
Represents the "getaddr" P2P protocol message, which requests network
AddressMessage s from a peer. |
class |
GetBlocksMessage
Represents the "getblocks" P2P network message, which requests the hashes of the parts of the block chain we're
missing.
|
class |
GetDataMessage
Represents the "getdata" P2P network message, which requests the contents of blocks or transactions given their
hashes.
|
class |
GetHeadersMessage
The "getheaders" command is structurally identical to "getblocks", but has different meaning.
|
class |
HeadersMessage
A protocol message that contains a repeated series of block headers, sent in response to the "getheaders" command.
|
class |
InventoryMessage
Represents the "inv" P2P network message.
|
class |
ListMessage
Abstract superclass of classes with list based payload, ie InventoryMessage and GetDataMessage.
|
class |
MemoryPoolMessage
The "mempool" message asks a remote peer to announce all transactions in its memory pool, possibly restricted by
any Bloom filter set on the connection.
|
class |
NotFoundMessage
Sent by a peer when a getdata request doesn't find the requested data in the mempool.
|
class |
PartialMerkleTree
A data structure that contains proofs of block inclusion for one or more transactions, in an efficient manner.
|
class |
PeerAddress
A PeerAddress holds an IP address and port number representing the network location of
a peer in the Bitcoin P2P network.
|
class |
Ping |
class |
Pong |
class |
Transaction
A transaction represents the movement of coins from some addresses to some other addresses.
|
class |
TransactionInput
A transfer of coins from one address to another creates a transaction in which the outputs
can be claimed by the recipient in the input of another transaction.
|
class |
TransactionOutPoint
This message is a reference or pointer to an output of a different transaction.
|
class |
TransactionOutput
A TransactionOutput message contains a scriptPubKey that controls who is able to spend its value.
|
class |
UnknownMessage |
class |
VersionAck
The verack message, sent by a client accepting the version message they
received from their peer.
|
class |
VersionMessage
A VersionMessage holds information exchanged during connection setup with another peer.
|
Modifier and Type | Method and Description |
---|---|
Message |
BitcoinSerializer.deserialize(ByteBuffer in)
Reads a message from the given ByteBuffer and returns it.
|
Message |
BitcoinSerializer.deserializePayload(BitcoinSerializer.BitcoinPacketHeader header,
ByteBuffer in)
Deserialize payload only.
|
Message |
PeerEventListener.onPreMessageReceived(Peer peer,
Message m)
Called when a message is received by a peer, before the message is processed.
|
Message |
AbstractPeerEventListener.onPreMessageReceived(Peer peer,
Message m) |
Modifier and Type | Method and Description |
---|---|
List<Message> |
PeerEventListener.getData(Peer peer,
GetDataMessage m)
Called when a peer receives a getdata message, usually in response to an "inv" being broadcast.
|
List<Message> |
AbstractPeerEventListener.getData(Peer peer,
GetDataMessage m) |
Modifier and Type | Method and Description |
---|---|
Message |
PeerEventListener.onPreMessageReceived(Peer peer,
Message m)
Called when a message is received by a peer, before the message is processed.
|
Message |
AbstractPeerEventListener.onPreMessageReceived(Peer peer,
Message m) |
protected abstract void |
PeerSocketHandler.processMessage(Message m)
Called every time a message is received from the network
|
protected void |
Peer.processMessage(Message m) |
void |
PeerSocketHandler.sendMessage(Message message)
Sends the given message to the peer.
|
void |
BitcoinSerializer.serialize(Message message,
OutputStream out)
Writes message to to the output stream.
|
void |
ChildMessage.setParent(Message parent) |
Constructor and Description |
---|
ChildMessage(NetworkParameters params,
byte[] msg,
int offset,
int protocolVersion,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
ChildMessage(NetworkParameters params,
byte[] msg,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
PeerAddress(NetworkParameters params,
byte[] msg,
int offset,
int protocolVersion,
Message parent,
boolean parseLazy,
boolean parseRetain)
Construct a peer address from a serialized payload.
|
Transaction(NetworkParameters params,
byte[] msg,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length)
Creates a transaction by reading payload starting from offset bytes in.
|
Transaction(NetworkParameters params,
byte[] msg,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length)
Creates a transaction by reading payload starting from offset bytes in.
|
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain)
Deserializes the message.
|
Modifier and Type | Method and Description |
---|---|
Message |
NativePeerEventListener.onPreMessageReceived(Peer peer,
Message m) |
Modifier and Type | Method and Description |
---|---|
List<Message> |
NativePeerEventListener.getData(Peer peer,
GetDataMessage m) |
Modifier and Type | Method and Description |
---|---|
Message |
NativePeerEventListener.onPreMessageReceived(Peer peer,
Message m) |
Copyright © 2014. All rights reserved.