public class SendHeadersMessage extends EmptyMessage
A new message, "sendheaders", which indicates that a node prefers to receive new block announcements via a "headers" message rather than an "inv".
See BIP 130.
cursor, length, MAX_SIZE, offset, params, payload, protocolVersion, recached, serializer, UNKNOWN_LENGTH
Constructor and Description |
---|
SendHeadersMessage() |
SendHeadersMessage(NetworkParameters params,
byte[] payload) |
bitcoinSerialize, bitcoinSerializeToStream, parse
adjustLength, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, unCache, unsafeBitcoinSerialize
public SendHeadersMessage()
public SendHeadersMessage(NetworkParameters params, byte[] payload)