CTxMemPool::CalculateDescendants

Populate setDescendants with all in-mempool descendants of given transaction. Assumes that setDescendants includes all in-mempool descendants of anything already in it.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7ff37b4208a8), requires_capability(0x7ff376fd8258), requires_capability(0x7ff38def7478), requires_capability(0x7ff3640f8488), requires_capability(0x7ff3920f8778), requires_capability(0x7ff37f5ca898), requires_capability(0x7ff37d011b18), requires_capability(0x7ff374c15328)]]
void
CalculateDescendants(
    txiter it,
    setEntries& setDescendants) const;

Parameters

NameDescription
itIterator to the transaction whose descendants are collected.
setDescendantsThe set that is populated with the descendants.