Equity
Bitcoin Protocol Library
|
A send-headers message. More...
#include <SendHeadersMessage.h>
Public Member Functions | |
SendHeadersMessage (uint8_t const *&in, size_t &size) | |
Overrides Serializable | |
virtual void | serialize (std::vector< uint8_t > &out) const override |
virtual json | toJson () const override |
Static Public Attributes | |
static char const | TYPE [] = "sendheaders" |
Message type. | |
A send-headers message.
Upon receipt of this message, the node is be permitted, but not required, to announce new blocks by headers messages (instead of inventory messages).
This message is supported by the protocol version >= 70012 or Bitcoin Core version >= 0.12.0.
SendHeadersMessage::SendHeadersMessage | ( | uint8_t const *& | in, |
size_t & | size | ||
) |
[in,out] | in | pointer to the next byte to deserialize |
[in,out] | size | number of bytes remaining in the serialized stream |