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

Name

Description

unique_parents

The deduplicated parent txids of the orphan.

wtxid

Witness txid of the orphan transaction.

nodeid

The peer being considered as a resolution candidate.

now

The current time, used to schedule request delays.

Created with MrDocs