TARAXA
dev::p2p::NodeInfo Struct Reference

#include <Host.h>

Collaboration diagram for dev::p2p::NodeInfo:

Public Member Functions

 NodeInfo ()=default
 
 NodeInfo (NodeID const &_id, std::string const &_address, unsigned _port, std::string const &_version, std::string const &_enr)
 
std::string enode () const
 

Public Attributes

NodeID id
 
std::string address
 
unsigned port
 
std::string version
 
std::string enr
 

Constructor & Destructor Documentation

◆ NodeInfo() [1/2]

dev::p2p::NodeInfo::NodeInfo ( )
default

◆ NodeInfo() [2/2]

dev::p2p::NodeInfo::NodeInfo ( NodeID const &  _id,
std::string const &  _address,
unsigned  _port,
std::string const &  _version,
std::string const &  _enr 
)
inline

Member Function Documentation

◆ enode()

std::string dev::p2p::NodeInfo::enode ( ) const
inline

Member Data Documentation

◆ address

std::string dev::p2p::NodeInfo::address

◆ enr

std::string dev::p2p::NodeInfo::enr

◆ id

NodeID dev::p2p::NodeInfo::id

◆ port

unsigned dev::p2p::NodeInfo::port

◆ version

std::string dev::p2p::NodeInfo::version

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