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(0x7f95135d2fa8), requires_capability(0x7f9501b12388), requires_capability(0x7f950ec78578), requires_capability(0x7f9525ea82c8), requires_capability(0x7f9515097a08), requires_capability(0x7f950826bca8), requires_capability(0x7f94f856f3b8), requires_capability(0x7f9513c595a8)]]
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.