Class GetBlocksMessage

java.lang.Object
org.bitcoinj.core.Message
org.bitcoinj.core.GetBlocksMessage
Direct Known Subclasses:
GetHeadersMessage

public class GetBlocksMessage extends Message

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.