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.
Declared in <txrequest.h>
void
GetCandidatePeers(
uint256 const& txhash,
std::vector<NodeId>& result_peers) const;
| Name | Description |
|---|---|
| txhash | Transaction hash to look up. |
| result_peers | Vector the matching peers are appended to. |