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 Details

    • SendHeadersMessage

      public SendHeadersMessage()
    • SendHeadersMessage

      public SendHeadersMessage(NetworkParameters params, byte[] payload)