An address message.
More...
#include <AddressMessage.h>
|
| AddressMessage (std::vector< Address > const &addresses) |
|
| AddressMessage (uint8_t const *&in, size_t &size) |
|
|
virtual void | serialize (std::vector< uint8_t > &out) const override |
|
virtual json | toJson () const override |
|
| Message (char const *type) |
|
std::string | type () const |
| Returns the type.
|
|
An address message.
Provides information on known nodes of the network. Non-advertised nodes should be forgotten after typically 3 hours.
AddressMessage::AddressMessage |
( |
std::vector< Address > const & |
addresses | ) |
|
- Parameters
-
addresses | Vector of node decriptions |
AddressMessage::AddressMessage |
( |
uint8_t const *& |
in, |
|
|
size_t & |
size |
|
) |
| |
- Parameters
-
[in,out] | in | pointer to the next byte to deserialize |
[in,out] | size | number of bytes remaining in the serialized stream |
The documentation for this class was generated from the following files: