Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <Common.h>
Public Member Functions | |
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 | |
NodeID | id |
NodeIPEndpoint | endpoint |
Endpoints by which we expect to reach node. More... | |
PeerType | peerType = PeerType::Optional |
|
default |
|
default |
|
inline |
Node::Node | ( | NodeSpec const & | _s, |
PeerType | _peerType = PeerType::Optional |
||
) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
NodeIPEndpoint dev::p2p::Node::endpoint |
PeerType dev::p2p::Node::peerType = PeerType::Optional |