TxRequestTracker::GetCandidatePeers

For some txhash (txid or wtxid), finds all peers with non-COMPLETED announcements and appends them to result_peers. Does not try to ensure that result_peers contains no duplicates.

Synopsis

Declared in <txrequest.h>

void
GetCandidatePeers(
    uint256 const& txhash,
    std::vector<NodeId>& result_peers) const;

Parameters

NameDescription
txhashTransaction hash to look up.
result_peersVector the matching peers are appended to.