node::TxOrphanage::GetChildrenFromSamePeer

Get all children that spend from this tx and were received from nodeid. Sorted reconsiderable before non-reconsiderable, then from most recent to least recent.

Synopsis

Declared in <node/txorphanage.h>

virtual
std::vector<CTransactionRef>
GetChildrenFromSamePeer(
    CTransactionRef const& parent,
    NodeId nodeid) const = 0;

Return Value

The matching child transactions, sorted as described.

Parameters

NameDescription
parentThe parent transaction whose children to collect.
nodeidThe peer the children must have been received from.