[#node-TxOrphanage-AddChildrenToWorkSet] = xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::AddChildrenToWorkSet :relfileprefix: ../../ :mrdocs: Add any orphans that list a particular tx as a parent into the from peer's work set == Synopsis Declared in `<node/txorphanage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::vector<std::pair<Wtxid, NodeId>> AddChildrenToWorkSet( xref:CTransaction.adoc[CTransaction] const& tx, xref:FastRandomContext.adoc[FastRandomContext]& rng) = 0; ---- == Return Value The (wtxid, peer) pairs of the children added to work sets. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The parent transaction whose children should be reconsidered. | *rng* | Random context used to shuffle the selected children. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#