Class HeadersMessage

java.lang.Object
org.bitcoinj.core.Message
org.bitcoinj.core.HeadersMessage

public class HeadersMessage extends Message

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.