Class SendHeadersMessage


  • 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 Detail

      • SendHeadersMessage

        public SendHeadersMessage()
      • SendHeadersMessage

        public SendHeadersMessage​(NetworkParameters params,
                                  java.nio.ByteBuffer payload)