CNodeStats

Reported statistics about a single peer connection.

Synopsis

Declared in <net.h>

class CNodeStats;

Data Members

NameDescription
addr Address of this peer.
addrBind Bind address of our side of the connection.
addrLocal Our address, as reported by the peer.
cleanSubVer Sanitized user agent string reported by the peer.
fInbound Whether the connection is inbound.
m_addr_name Human-readable address or hostname of the peer.
m_bip152_highbandwidth_from This peer requested a high bandwidth (BIP152) connection from us.
m_bip152_highbandwidth_to We requested a high bandwidth (BIP152) connection to this peer.
m_conn_type Type of this connection (inbound, outbound full relay, etc.).
m_connected Time the connection was established.
m_last_block_time Time of the last block received from this peer.
m_last_ping_time Most recent measured ping round-trip time.
m_last_recv Time of the last receive from this peer.
m_last_send Time of the last send to this peer.
m_last_tx_time Time of the last transaction received from this peer.
m_mapped_as Autonomous system number the peer maps to, if known.
m_min_ping_time Lowest ping round-trip time measured for this peer.
m_network Network the peer connected through.
m_permission_flags Permission flags granted to this peer.
m_session_id BIP324 session id string in hex, if any.
m_transport_type Transport protocol type.
mapRecvBytesPerMsgType Bytes received from this peer, broken down by message type.
mapSendBytesPerMsgType Bytes sent to this peer, broken down by message type.
nRecvBytes Total number of bytes received from this peer.
nSendBytes Total number of bytes sent to this peer.
nVersion Protocol version advertised by the peer.
nodeid Unique identifier of the peer.