Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <NodeTable.h>
Public Member Functions | |
DiscoveryDatagram (bi::udp::endpoint const &_to) | |
Constructor used for sending. More... | |
DiscoveryDatagram (bi::udp::endpoint const &_from, NodeID const &_fromid, h256 const &_echo) | |
Constructor used for parsing inbound packets. More... | |
bool | isExpired () const |
Public Member Functions inherited from dev::p2p::RLPXDatagramFace | |
RLPXDatagramFace (bi::udp::endpoint const &_ep) | |
virtual h256 | sign (Secret const &_from) |
virtual uint8_t | packetType () const =0 |
virtual void | streamRLP (RLPStream &) const =0 |
virtual void | interpretRLP (bytesConstRef _bytes)=0 |
Public Member Functions inherited from dev::p2p::UDPDatagram | |
UDPDatagram (bi::udp::endpoint const &_ep) | |
UDPDatagram (bi::udp::endpoint const &_ep, bytes _data) | |
bi::udp::endpoint const & | endpoint () const |
Static Public Member Functions | |
static std::unique_ptr< DiscoveryDatagram > | interpretUDP (bi::udp::endpoint const &_from, bytesConstRef _packet) |
Decodes UDP packets. More... | |
Static Public Member Functions inherited from dev::p2p::RLPXDatagramFace | |
static uint32_t | futureFromEpoch (std::chrono::seconds _sec) |
static uint32_t | secondsSinceEpoch () |
static Public | authenticate (bytesConstRef _sig, bytesConstRef _rlp) |
Public Attributes | |
NodeID | sourceid |
h256 | echo |
uint32_t | ts = 0 |
Public Attributes inherited from dev::p2p::UDPDatagram | |
bytes | data |
Additional Inherited Members | |
Protected Attributes inherited from dev::p2p::UDPDatagram | |
bi::udp::endpoint | locus |
Definition at line 279 of file NodeTable.h.
|
inline |
Constructor used for sending.
Definition at line 282 of file NodeTable.h.
|
inline |
Constructor used for parsing inbound packets.
Definition at line 285 of file NodeTable.h.
|
static |
Decodes UDP packets.
Definition at line 580 of file NodeTable.cpp.
|
inline |
Definition at line 294 of file NodeTable.h.
h256 dev::p2p::DiscoveryDatagram::echo |
Definition at line 289 of file NodeTable.h.
NodeID dev::p2p::DiscoveryDatagram::sourceid |
Definition at line 288 of file NodeTable.h.
uint32_t dev::p2p::DiscoveryDatagram::ts = 0 |
Definition at line 293 of file NodeTable.h.