[#CNodeStateStats]
= CNodeStateStats
:mrdocs:

Per&hyphen;peer state statistics reported for diagnostics (e&period;g&period; getpeerinfo)&period;

== Synopsis

Declared in `&lt;net&lowbar;processing&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct CNodeStateStats;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:CNodeStateStats/m_addr_processed.adoc[`m&lowbar;addr&lowbar;processed`] 
| Number of addresses processed from this peer&period;
| xref:CNodeStateStats/m_addr_rate_limited.adoc[`m&lowbar;addr&lowbar;rate&lowbar;limited`] 
| Number of addresses dropped from this peer due to rate limiting&period;
| xref:CNodeStateStats/m_addr_relay_enabled.adoc[`m&lowbar;addr&lowbar;relay&lowbar;enabled`] 
| Whether address relay is enabled with this peer&period;
| xref:CNodeStateStats/m_fee_filter_received.adoc[`m&lowbar;fee&lowbar;filter&lowbar;received`] 
| Minimum fee rate this peer will accept for relayed transactions&period;
| xref:CNodeStateStats/m_inv_to_send.adoc[`m&lowbar;inv&lowbar;to&lowbar;send`] 
| Number of inventory items queued to send to this peer&period;
| xref:CNodeStateStats/m_last_inv_seq.adoc[`m&lowbar;last&lowbar;inv&lowbar;seq`] 
| Mempool sequence number as of the last inventory send&period;
| xref:CNodeStateStats/m_ping_wait.adoc[`m&lowbar;ping&lowbar;wait`] 
| Time elapsed waiting for an outstanding ping reply&period;
| xref:CNodeStateStats/m_relay_txs.adoc[`m&lowbar;relay&lowbar;txs`] 
| Whether transaction relay is enabled with this peer&period;
| xref:CNodeStateStats/nCommonHeight.adoc[`nCommonHeight`] 
| Best block height known to be in common with this peer&period;
| xref:CNodeStateStats/nSyncHeight.adoc[`nSyncHeight`] 
| Height up to which we have requested headers from this peer&period;
| xref:CNodeStateStats/presync_height.adoc[`presync&lowbar;height`] 
| Height reached during headers pre&hyphen;synchronization&period;
| xref:CNodeStateStats/their_services.adoc[`their&lowbar;services`] 
| Service flags advertised by this peer&period;
| xref:CNodeStateStats/time_offset.adoc[`time&lowbar;offset`] 
| Clock offset between us and this peer&period;
| xref:CNodeStateStats/vHeightInFlight.adoc[`vHeightInFlight`] 
| Heights of the blocks currently in flight from this peer&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
