public class SendAddrV2Message extends EmptyMessage
Represents the sendaddrv2
P2P protocol message, which indicates that a node can understand and prefers
to receive addrv2
messages instead of addr
messages.
See BIP155 for details.
Instances of this class are not safe for use by multiple threads.
cursor, length, MAX_SIZE, offset, params, payload, recached, serializer, UNKNOWN_LENGTH
Constructor and Description |
---|
SendAddrV2Message(NetworkParameters params) |
bitcoinSerialize, bitcoinSerializeToStream, parse
adjustLength, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerialize
public SendAddrV2Message(NetworkParameters params)