Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <NodeTable.h>
Public Member Functions | |
NodeEntry (NodeID const &_src, Public const &_pubk, NodeIPEndpoint const &_gw) | |
Public Member Functions inherited from dev::p2p::Node | |
Node ()=default | |
Node (Node const &)=default | |
Node (Public _publicKey, NodeIPEndpoint const &_ip, PeerType _peerType=PeerType::Optional) | |
Node (NodeSpec const &_s, PeerType _peerType=PeerType::Optional) | |
virtual NodeID const & | address () const |
virtual Public const & | publicKey () const |
virtual | operator bool () const |
Public Attributes | |
unsigned const | distance |
Node's distance (xor of _src as integer). More... | |
bool | pending = true |
Node will be ignored until Pong is received. More... | |
Public Attributes inherited from dev::p2p::Node | |
NodeID | id |
NodeIPEndpoint | endpoint |
Endpoints by which we expect to reach node. More... | |
PeerType | peerType = PeerType::Optional |
NodeEntry::NodeEntry | ( | NodeID const & | _src, |
Public const & | _pubk, | ||
NodeIPEndpoint const & | _gw | ||
) |
unsigned const dev::p2p::NodeEntry::distance |
Node's distance (xor of _src as integer).
Definition at line 44 of file NodeTable.h.
bool dev::p2p::NodeEntry::pending = true |
Node will be ignored until Pong is received.
Definition at line 45 of file NodeTable.h.