PeerManager::GetNodeStateStats

Get statistics from node state

Synopsis

Declared in <net_processing.h>

virtual
bool
GetNodeStateStats(
    NodeId nodeid,
    CNodeStateStats& stats) const = 0;

Return Value

True if the peer was found and stats were populated.

Parameters

NameDescription
nodeidThe id of the peer to query.
statsOutput filled with the peer's state statistics on success.