Equity
Bitcoin Protocol Library
|
A get-address message. More...
#include <GetAddrMessage.h>
Public Member Functions | |
GetAddrMessage (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 [] = "getaddr" |
Message type. | |
A get-address message.
Requests a node for information about known active peers to help with finding potential nodes in the network.
GetAddrMessage::GetAddrMessage | ( | 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 |