[#CNodeStats] = CNodeStats :mrdocs: Reported statistics about a single peer connection. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CNodeStats; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:CNodeStats/addr.adoc[`addr`] | Address of this peer. | xref:CNodeStats/addrBind.adoc[`addrBind`] | Bind address of our side of the connection. | xref:CNodeStats/addrLocal.adoc[`addrLocal`] | Our address, as reported by the peer. | xref:CNodeStats/cleanSubVer.adoc[`cleanSubVer`] | Sanitized user agent string reported by the peer. | xref:CNodeStats/fInbound.adoc[`fInbound`] | Whether the connection is inbound. | xref:CNodeStats/m_addr_name.adoc[`m_addr_name`] | Human‐readable address or hostname of the peer. | xref:CNodeStats/m_bip152_highbandwidth_from.adoc[`m_bip152_highbandwidth_from`] | This peer requested a high bandwidth (BIP152) connection from us. | xref:CNodeStats/m_bip152_highbandwidth_to.adoc[`m_bip152_highbandwidth_to`] | We requested a high bandwidth (BIP152) connection to this peer. | xref:CNodeStats/m_conn_type.adoc[`m_conn_type`] | Type of this connection (inbound, outbound full relay, etc.). | xref:CNodeStats/m_connected.adoc[`m_connected`] | Time the connection was established. | xref:CNodeStats/m_last_block_time.adoc[`m_last_block_time`] | Time of the last block received from this peer. | xref:CNodeStats/m_last_ping_time.adoc[`m_last_ping_time`] | Most recent measured ping round‐trip time. | xref:CNodeStats/m_last_recv.adoc[`m_last_recv`] | Time of the last receive from this peer. | xref:CNodeStats/m_last_send.adoc[`m_last_send`] | Time of the last send to this peer. | xref:CNodeStats/m_last_tx_time.adoc[`m_last_tx_time`] | Time of the last transaction received from this peer. | xref:CNodeStats/m_mapped_as.adoc[`m_mapped_as`] | Autonomous system number the peer maps to, if known. | xref:CNodeStats/m_min_ping_time.adoc[`m_min_ping_time`] | Lowest ping round‐trip time measured for this peer. | xref:CNodeStats/m_network.adoc[`m_network`] | Network the peer connected through. | xref:CNodeStats/m_permission_flags.adoc[`m_permission_flags`] | Permission flags granted to this peer. | xref:CNodeStats/m_session_id.adoc[`m_session_id`] | BIP324 session id string in hex, if any. | xref:CNodeStats/m_transport_type.adoc[`m_transport_type`] | Transport protocol type. | xref:CNodeStats/mapRecvBytesPerMsgType.adoc[`mapRecvBytesPerMsgType`] | Bytes received from this peer, broken down by message type. | xref:CNodeStats/mapSendBytesPerMsgType.adoc[`mapSendBytesPerMsgType`] | Bytes sent to this peer, broken down by message type. | xref:CNodeStats/nRecvBytes.adoc[`nRecvBytes`] | Total number of bytes received from this peer. | xref:CNodeStats/nSendBytes.adoc[`nSendBytes`] | Total number of bytes sent to this peer. | xref:CNodeStats/nVersion.adoc[`nVersion`] | Protocol version advertised by the peer. | xref:CNodeStats/nodeid.adoc[`nodeid`] | Unique identifier of the peer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#