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(0x7fbc8f6849b8), requires_capability(0x7fbc95d46718), requires_capability(0x7fbca708c3d8), requires_capability(0x7fbc86274c78), requires_capability(0x7fbca7899358), requires_capability(0x7fbc84aba9a8), requires_capability(0x7fbc870f9ea8), requires_capability(0x7fbc921e1768)]]
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.