Package org.bitcoinj.core
Class SendAddrV2Message
- java.lang.Object
-
- org.bitcoinj.core.Message
-
- org.bitcoinj.core.EmptyMessage
-
- org.bitcoinj.core.SendAddrV2Message
-
public class SendAddrV2Message extends EmptyMessage
Represents the
sendaddrv2
P2P protocol message, which indicates that a node can understand and prefers to receiveaddrv2
messages instead ofaddr
messages.See BIP155 for details.
Instances of this class are not safe for use by multiple threads.
-
-
Field Summary
-
Fields inherited from class org.bitcoinj.core.Message
MAX_SIZE, params, payload, serializer
-
-
Constructor Summary
Constructors Constructor Description SendAddrV2Message(NetworkParameters params)
-
Method Summary
-
Methods inherited from class org.bitcoinj.core.EmptyMessage
bitcoinSerializeToStream, getMessageSize, parse
-
Methods inherited from class org.bitcoinj.core.Message
bitcoinSerialize, getHash, getParams, readByte, readByteArray, readBytes, readHash, readInt32, readInt64, readStr, readUint32, readUint64, readVarInt, skipBytes, unCache, unsafeBitcoinSerialize
-
-
-
-
Constructor Detail
-
SendAddrV2Message
public SendAddrV2Message(NetworkParameters params)
-
-