Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
 
mapMsgCmdSize mapSendBytesPerMsgCmd
 
uint64_t nRecvBytes
 
mapMsgCmdSize mapRecvBytesPerMsgCmd
 
NetPermissionFlags m_permissionFlags
 
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< doublem_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 290 of file net.h.

Member Data Documentation

◆ addr

CAddress CNodeStats::addr

Definition at line 316 of file net.h.

◆ addrBind

CAddress CNodeStats::addrBind

Definition at line 318 of file net.h.

◆ addrLocal

std::string CNodeStats::addrLocal

Definition at line 314 of file net.h.

◆ cleanSubVer

std::string CNodeStats::cleanSubVer

Definition at line 301 of file net.h.

◆ fInbound

bool CNodeStats::fInbound

Definition at line 302 of file net.h.

◆ m_addr_name

std::string CNodeStats::m_addr_name

Definition at line 299 of file net.h.

◆ m_availabilityScore

std::optional<double> CNodeStats::m_availabilityScore

Definition at line 323 of file net.h.

◆ m_bip152_highbandwidth_from

bool CNodeStats::m_bip152_highbandwidth_from

Definition at line 304 of file net.h.

◆ m_bip152_highbandwidth_to

bool CNodeStats::m_bip152_highbandwidth_to

Definition at line 303 of file net.h.

◆ m_conn_type

ConnectionType CNodeStats::m_conn_type

Definition at line 322 of file net.h.

◆ m_connected

std::chrono::seconds CNodeStats::m_connected

Definition at line 297 of file net.h.

◆ m_last_block_time

std::chrono::seconds CNodeStats::m_last_block_time

Definition at line 296 of file net.h.

◆ m_last_ping_time

std::chrono::microseconds CNodeStats::m_last_ping_time

Definition at line 311 of file net.h.

◆ m_last_proof_time

std::chrono::seconds CNodeStats::m_last_proof_time

Definition at line 295 of file net.h.

◆ m_last_recv

std::chrono::seconds CNodeStats::m_last_recv

Definition at line 293 of file net.h.

◆ m_last_send

std::chrono::seconds CNodeStats::m_last_send

Definition at line 292 of file net.h.

◆ m_last_tx_time

std::chrono::seconds CNodeStats::m_last_tx_time

Definition at line 294 of file net.h.

◆ m_mapped_as

uint32_t CNodeStats::m_mapped_as

Definition at line 321 of file net.h.

◆ m_min_ping_time

std::chrono::microseconds CNodeStats::m_min_ping_time

Definition at line 312 of file net.h.

◆ m_network

Network CNodeStats::m_network

Definition at line 320 of file net.h.

◆ m_permissionFlags

NetPermissionFlags CNodeStats::m_permissionFlags

Definition at line 310 of file net.h.

◆ m_starting_height

int CNodeStats::m_starting_height

Definition at line 305 of file net.h.

◆ mapRecvBytesPerMsgCmd

mapMsgCmdSize CNodeStats::mapRecvBytesPerMsgCmd

Definition at line 309 of file net.h.

◆ mapSendBytesPerMsgCmd

mapMsgCmdSize CNodeStats::mapSendBytesPerMsgCmd

Definition at line 307 of file net.h.

◆ nodeid

NodeId CNodeStats::nodeid

Definition at line 291 of file net.h.

◆ nRecvBytes

uint64_t CNodeStats::nRecvBytes

Definition at line 308 of file net.h.

◆ nSendBytes

uint64_t CNodeStats::nSendBytes

Definition at line 306 of file net.h.

◆ nTimeOffset

int64_t CNodeStats::nTimeOffset

Definition at line 298 of file net.h.

◆ nVersion

int CNodeStats::nVersion

Definition at line 300 of file net.h.


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