CTxMemPool::CalculateAncestorData

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7ff37b41f0a8), requires_capability(0x7ff376fd6a58), requires_capability(0x7ff38def5c78), requires_capability(0x7ff3640f6c88), requires_capability(0x7ff3920f6f78), requires_capability(0x7ff37f5c9098), requires_capability(0x7ff37d010318), requires_capability(0x7ff374c13b28)]]
std::tuple<size_t, size_t, CAmount>
CalculateAncestorData(CTxMemPoolEntry const& entry) const;

Return Value

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

Parameters

NameDescription
entryThe entry whose ancestor data is computed.