node::TxOrphanage::AddChildrenToWorkSet

Add any orphans that list a particular tx as a parent into the from peer's work set

Synopsis

Declared in <node/txorphanage.h>

virtual
std::vector<std::pair<Wtxid, NodeId>>
AddChildrenToWorkSet(
    CTransaction const& tx,
    FastRandomContext& rng) = 0;

Return Value

The (wtxid, peer) pairs of the children added to work sets.

Parameters

NameDescription
txThe parent transaction whose children should be reconsidered.
rngRandom context used to shuffle the selected children.