Per‐peer state statistics reported for diagnostics (e.g. getpeerinfo).

Synopsis

Declared in <net_processing.h>

struct CNodeStateStats;

Data Members

Name

Description

m_addr_processed

Number of addresses processed from this peer.

m_addr_rate_limited

Number of addresses dropped from this peer due to rate limiting.

m_addr_relay_enabled

Whether address relay is enabled with this peer.

m_fee_filter_received

Minimum fee rate this peer will accept for relayed transactions.

m_inv_to_send

Number of inventory items queued to send to this peer.

m_last_inv_seq

Mempool sequence number as of the last inventory send.

m_ping_wait

Time elapsed waiting for an outstanding ping reply.

m_relay_txs

Whether transaction relay is enabled with this peer.

nCommonHeight

Best block height known to be in common with this peer.

nSyncHeight

Height up to which we have requested headers from this peer.

presync_height

Height reached during headers pre‐synchronization.

their_services

Service flags advertised by this peer.

time_offset

Clock offset between us and this peer.

vHeightInFlight

Heights of the blocks currently in flight from this peer.

Created with MrDocs