CTxMemPool::CalculateDescendantData

Compute the count, aggregate size, and aggregate fee of an entry's in-mempool descendants.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f95135d1868), requires_capability(0x7f9501b10c48), requires_capability(0x7f950ec76e38), requires_capability(0x7f9525ea6b88), requires_capability(0x7f95150962c8), requires_capability(0x7f950826a568), requires_capability(0x7f94f856dc78), requires_capability(0x7f9513c57e68)]]
std::tuple<size_t, size_t, CAmount>
CalculateDescendantData(CTxMemPoolEntry const& entry) const;

Return Value

A tuple of descendant count, descendant size, and descendant fees.

Parameters

NameDescription
entryThe entry whose descendant data is computed.