node::TxDownloadManagerImpl::MaybeAddOrphanResolutionCandidate

If this peer is an orphan resolution candidate for this transaction, treat the unique_parents as announced by this peer; add them as new invs to m_txrequest.

Synopsis

Declared in <node/txdownloadman_impl.h>

bool
MaybeAddOrphanResolutionCandidate(
    std::vector<Txid> const& unique_parents,
    Wtxid const& wtxid,
    NodeId nodeid,
    std::chrono::microseconds now);

Return Value

whether this transaction was a valid orphan resolution candidate.

Parameters

NameDescription
unique_parentsThe deduplicated parent txids of the orphan.
wtxidWitness txid of the orphan transaction.
nodeidThe peer being considered as a resolution candidate.
nowThe current time, used to schedule request delays.