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

Name

Description

tx

The parent transaction whose children should be reconsidered.

rng

Random context used to shuffle the selected children.

Created with MrDocs