TARAXA
|
#include <NodeTable.h>
Public Attributes | |
h512 | target |
![]() | |
NodeID | sourceid |
h256 | echo |
boost::optional< uint32_t > | expiration |
![]() | |
bytes | data |
Static Public Attributes | |
static constexpr uint8_t | type = 3 |
![]() | |
static constexpr std::chrono::seconds | c_timeToLiveS {60} |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< DiscoveryDatagram > | interpretUDP (bi::udp::endpoint const &_from, bytesConstRef _packet) |
Decodes UDP packets. | |
![]() | |
static uint32_t | futureFromEpoch (std::chrono::seconds _sec) |
static uint32_t | secondsSinceEpoch () |
static Public | authenticate (bytesConstRef _sig, bytesConstRef _rlp) |
![]() | |
bi::udp::endpoint | locus |
FindNode Packet: Request k-nodes, closest to the target. FindNode is cached and regenerated after timestamp + t, where t is timeout. FindNode implicitly results in finding neighbours of a given node.
RLP Encoded Items: 2 Minimum Encoded Size: 21 bytes Maximum Encoded Size: 30 bytes
target: NodeID of node. The responding node will send back nodes closest to the target.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements dev::p2p::RLPXDatagramFace.
|
inlineoverridevirtual |
Implements dev::p2p::RLPXDatagramFace.
Implements dev::p2p::RLPXDatagramFace.
|
inlineoverridevirtual |
Implements dev::p2p::RLPXDatagramFace.
h512 dev::p2p::FindNode::target |