Entry in Node Table.
More...
#include <NodeTable.h>
Entry in Node Table.
NodeEntry
◆ NodeEntry()
dev::p2p::NodeEntry::NodeEntry |
( |
h256 const & |
_hostNodeIDHash, |
|
|
Public const & |
_pubk, |
|
|
NodeIPEndpoint const & |
_gw, |
|
|
uint32_t |
_pongReceivedTime, |
|
|
uint32_t |
_pongSentTime |
|
) |
| |
|
inline |
◆ endpoint()
◆ hasValidEndpointProof()
bool dev::p2p::NodeEntry::hasValidEndpointProof |
( |
| ) |
const |
|
inline |
◆ id()
NodeID const& dev::p2p::NodeEntry::id |
( |
| ) |
const |
|
inline |
◆ peerType()
PeerType dev::p2p::NodeEntry::peerType |
( |
| ) |
const |
|
inline |
◆ distance
int const dev::p2p::NodeEntry::distance = 0 |
Node's distance (xor of _hostNodeIDHash as integer).
◆ lastPongReceivedTime
uint32_t dev::p2p::NodeEntry::lastPongReceivedTime = 0 |
◆ lastPongSentTime
uint32_t dev::p2p::NodeEntry::lastPongSentTime = 0 |
◆ node
Node dev::p2p::NodeEntry::node |
◆ nodeIDHash
h256 const dev::p2p::NodeEntry::nodeIDHash |
The documentation for this struct was generated from the following file: