TARAXA
dev::p2p::NodeTable::NodeValidation Struct Reference

#include <NodeTable.h>

Collaboration diagram for dev::p2p::NodeTable::NodeValidation:

Public Member Functions

 NodeValidation (NodeID const &_nodeID, uint16_t _tcpPort, uint16_t _udpPort, TimePoint const &_pingSentTime, h256 const &_pingHash, std::shared_ptr< NodeEntry > _replacementNodeEntry)
 

Public Attributes

NodeID nodeID
 
uint16_t tcpPort = 0
 
uint16_t udpPort = 0
 
TimePoint pingSentTime
 
h256 pingHash
 
std::shared_ptr< NodeEntryreplacementNodeEntry
 

Detailed Description

NodeValidation is used to record information about the nodes that we have sent Ping to.

Constructor & Destructor Documentation

◆ NodeValidation()

dev::p2p::NodeTable::NodeValidation::NodeValidation ( NodeID const &  _nodeID,
uint16_t  _tcpPort,
uint16_t  _udpPort,
TimePoint const &  _pingSentTime,
h256 const &  _pingHash,
std::shared_ptr< NodeEntry _replacementNodeEntry 
)
inline

Member Data Documentation

◆ nodeID

NodeID dev::p2p::NodeTable::NodeValidation::nodeID

◆ pingHash

h256 dev::p2p::NodeTable::NodeValidation::pingHash

◆ pingSentTime

TimePoint dev::p2p::NodeTable::NodeValidation::pingSentTime

◆ replacementNodeEntry

std::shared_ptr<NodeEntry> dev::p2p::NodeTable::NodeValidation::replacementNodeEntry

◆ tcpPort

uint16_t dev::p2p::NodeTable::NodeValidation::tcpPort = 0

◆ udpPort

uint16_t dev::p2p::NodeTable::NodeValidation::udpPort = 0

The documentation for this struct was generated from the following file: