Total usage (weight) of orphans for which this peer is an announcer. If an orphan has multiple announcers, its weight will be accounted for in each PeerOrphanInfo, so the total of all peers' UsageByPeer() may be larger than TotalOrphanUsage(). Similarly, UsageByPeer() may be far higher than ReservedPeerUsage(), particularly if many peers have provided the same orphans.

Synopsis

Declared in <node/txorphanage.h>

virtual
Usage
UsageByPeer(NodeId peer) const = 0;

Return Value

The combined weight of orphans announced by peer.

Parameters

Name

Description

peer

The peer to measure usage for.

Created with MrDocs