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(0x7fb95f556a08), requires_capability(0x7fb968bc8118), requires_capability(0x7fb95fdd1f58), requires_capability(0x7fb978b77318), requires_capability(0x7fb96b8fc878), requires_capability(0x7fb96e5c3348), requires_capability(0x7fb97a07d378), requires_capability(0x7fb96be450c8)]]
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.