[#PeerManager-GetNodeStateStats] = xref:PeerManager.adoc[PeerManager]::GetNodeStateStats :relfileprefix: ../ :mrdocs: Get statistics from node state == Synopsis Declared in `<net_processing.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool GetNodeStateStats( xref:NodeId-08.adoc[NodeId] nodeid, xref:CNodeStateStats.adoc[CNodeStateStats]& stats) const = 0; ---- == Return Value True if the peer was found and stats were populated. == Parameters [cols="1,4"] |=== | Name| Description | *nodeid* | The id of the peer to query. | *stats* | Output filled with the peer's state statistics on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#