Class GetBlocksMessage

java.lang.Object
org.bitcoinj.core.BaseMessage
org.bitcoinj.core.GetBlocksMessage
All Implemented Interfaces:
Message
Direct Known Subclasses:
GetHeadersMessage

public class GetBlocksMessage extends BaseMessage

Represents the "getblocks" P2P network message, which requests the hashes of the parts of the block chain we're missing. Those blocks can then be downloaded with a GetDataMessage.

Instances of this class are not safe for use by multiple threads.