node::TxDownloadManagerImpl::Find1P1CPackage

Look for a child of this transaction in the orphanage to form a 1-parent-1-child package, skipping any combinations that have already been tried. Return the resulting package along with the senders of its respective transactions, or std::nullopt if no package is found.

Synopsis

Declared in <node/txdownloadman_impl.h>

std::optional<PackageToValidate>
Find1P1CPackage(
    CTransactionRef const& ptx,
    NodeId nodeid);

Return Value

The formed package, or std::nullopt if no untried package is found.

Parameters

NameDescription
ptxThe parent transaction to find a child for.
nodeidThe peer that provided ptx.