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(0x7fd7537ba2b8), requires_capability(0x7fd74eec6c48), requires_capability(0x7fd75e708298), requires_capability(0x7fd759894a68), requires_capability(0x7fd75ce06a38), requires_capability(0x7fd759f6fec8), requires_capability(0x7fd75b830108), requires_capability(0x7fd73e8ae368)]]
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.