Class HeadersMessage

java.lang.Object
org.bitcoinj.core.BaseMessage
org.bitcoinj.core.HeadersMessage
All Implemented Interfaces:
Message

public class HeadersMessage extends BaseMessage

A protocol message that contains a repeated series of block headers, sent in response to the "getheaders" command. This is useful when you want to traverse the chain but know you don't care about the block contents, for example, because you have a freshly created wallet with no keys.

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