Package org.bitcoinj.core
Class SendHeadersMessage
java.lang.Object
org.bitcoinj.core.Message
org.bitcoinj.core.EmptyMessage
org.bitcoinj.core.SendHeadersMessage
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.
-
Field Summary
Fields inherited from class org.bitcoinj.core.Message
cursor, length, MAX_SIZE, offset, params, payload, recached, serializer, UNKNOWN_LENGTH
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bitcoinj.core.EmptyMessage
bitcoinSerialize, bitcoinSerializeToStream, parse
Methods inherited from class org.bitcoinj.core.Message
adjustLength, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerialize
-
Constructor Details
-
SendHeadersMessage
public SendHeadersMessage() -
SendHeadersMessage
-