Bitcoin ABC 0.31.6
P2P Digital Currency
Public Attributes | List of all members
CNodeStats Struct Reference

POD that contains various stats about a node. More...

#include <net.h>

Collaboration diagram for CNodeStats:
[legend]

Public Attributes

NodeId nodeid
 
std::chrono::seconds m_last_send
 
std::chrono::seconds m_last_recv
 
std::chrono::seconds m_last_tx_time
 
std::chrono::seconds m_last_proof_time
 
std::chrono::seconds m_last_block_time
 
std::chrono::seconds m_connected
 
int64_t nTimeOffset
 
std::string m_addr_name
 
int nVersion
 
std::string cleanSubVer
 
bool fInbound
 
bool m_bip152_highbandwidth_to
 
bool m_bip152_highbandwidth_from
 
int m_starting_height
 
uint64_t nSendBytes
 
mapMsgTypeSize mapSendBytesPerMsgType
 
uint64_t nRecvBytes
 
mapMsgTypeSize mapRecvBytesPerMsgType
 
NetPermissionFlags m_permission_flags
 
std::chrono::microseconds m_last_ping_time
 
std::chrono::microseconds m_min_ping_time
 
std::string addrLocal
 
CAddress addr
 
CAddress addrBind
 
Network m_network
 
uint32_t m_mapped_as
 
ConnectionType m_conn_type
 
std::optional< double > m_availabilityScore
 

Detailed Description

POD that contains various stats about a node.

Usually constructed from CConman::GetNodeStats. Stats are filled from the node using CNode::copyStats.

Definition at line 213 of file net.h.

Member Data Documentation

◆ addr

CAddress CNodeStats::addr

Definition at line 241 of file net.h.

◆ addrBind

CAddress CNodeStats::addrBind

Definition at line 243 of file net.h.

◆ addrLocal

std::string CNodeStats::addrLocal

Definition at line 239 of file net.h.

◆ cleanSubVer

std::string CNodeStats::cleanSubVer

Definition at line 224 of file net.h.

◆ fInbound

bool CNodeStats::fInbound

Definition at line 225 of file net.h.

◆ m_addr_name

std::string CNodeStats::m_addr_name

Definition at line 222 of file net.h.

◆ m_availabilityScore

std::optional<double> CNodeStats::m_availabilityScore

Definition at line 248 of file net.h.

◆ m_bip152_highbandwidth_from

bool CNodeStats::m_bip152_highbandwidth_from

Definition at line 229 of file net.h.

◆ m_bip152_highbandwidth_to

bool CNodeStats::m_bip152_highbandwidth_to

Definition at line 227 of file net.h.

◆ m_conn_type

ConnectionType CNodeStats::m_conn_type

Definition at line 247 of file net.h.

◆ m_connected

std::chrono::seconds CNodeStats::m_connected

Definition at line 220 of file net.h.

◆ m_last_block_time

std::chrono::seconds CNodeStats::m_last_block_time

Definition at line 219 of file net.h.

◆ m_last_ping_time

std::chrono::microseconds CNodeStats::m_last_ping_time

Definition at line 236 of file net.h.

◆ m_last_proof_time

std::chrono::seconds CNodeStats::m_last_proof_time

Definition at line 218 of file net.h.

◆ m_last_recv

std::chrono::seconds CNodeStats::m_last_recv

Definition at line 216 of file net.h.

◆ m_last_send

std::chrono::seconds CNodeStats::m_last_send

Definition at line 215 of file net.h.

◆ m_last_tx_time

std::chrono::seconds CNodeStats::m_last_tx_time

Definition at line 217 of file net.h.

◆ m_mapped_as

uint32_t CNodeStats::m_mapped_as

Definition at line 246 of file net.h.

◆ m_min_ping_time

std::chrono::microseconds CNodeStats::m_min_ping_time

Definition at line 237 of file net.h.

◆ m_network

Network CNodeStats::m_network

Definition at line 245 of file net.h.

◆ m_permission_flags

NetPermissionFlags CNodeStats::m_permission_flags

Definition at line 235 of file net.h.

◆ m_starting_height

int CNodeStats::m_starting_height

Definition at line 230 of file net.h.

◆ mapRecvBytesPerMsgType

mapMsgTypeSize CNodeStats::mapRecvBytesPerMsgType

Definition at line 234 of file net.h.

◆ mapSendBytesPerMsgType

mapMsgTypeSize CNodeStats::mapSendBytesPerMsgType

Definition at line 232 of file net.h.

◆ nodeid

NodeId CNodeStats::nodeid

Definition at line 214 of file net.h.

◆ nRecvBytes

uint64_t CNodeStats::nRecvBytes

Definition at line 233 of file net.h.

◆ nSendBytes

uint64_t CNodeStats::nSendBytes

Definition at line 231 of file net.h.

◆ nTimeOffset

int64_t CNodeStats::nTimeOffset

Definition at line 221 of file net.h.

◆ nVersion

int CNodeStats::nVersion

Definition at line 223 of file net.h.


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