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

Name

Description

nodeid

The id of the peer to query.

stats

Output filled with the peer's state statistics on success.

Created with MrDocs