Package org.bitcoinj.core
Class SendHeadersMessage
- java.lang.Object
-
- org.bitcoinj.core.BaseMessage
-
- org.bitcoinj.core.EmptyMessage
-
- org.bitcoinj.core.SendHeadersMessage
-
- All Implemented Interfaces:
Message
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.
-
-
Constructor Summary
Constructors Constructor Description SendHeadersMessage()
-
Method Summary
-
Methods inherited from class org.bitcoinj.core.EmptyMessage
bitcoinSerializeToStream, messageSize
-
Methods inherited from class org.bitcoinj.core.BaseMessage
serialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bitcoinj.core.Message
bitcoinSerialize, getMessageSize, unsafeBitcoinSerialize
-
-