CTxMemPool::CalculateDescendants

Populate setDescendants with all in-mempool descendants of the given entry.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f2e1b5a2f98), requires_capability(0x7f2e2721bfa8), requires_capability(0x7f2e421cd6b8), requires_capability(0x7f2e2880c678), requires_capability(0x7f2e3212fa08), requires_capability(0x7f2e347f8098), requires_capability(0x7f2e2b05c508), requires_capability(0x7f2e2bee3ba8)]]
CTxMemPool::txiter
CalculateDescendants(
    CTxMemPoolEntry const& entry,
    setEntries& setDescendants) const;

Return Value

An iterator to the entry in the mempool.

Parameters

NameDescription
entryThe transaction entry whose descendants are collected.
setDescendantsThe set that is populated with the descendants.