CTxMemPool::CalculateAncestorData

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

Synopsis

Declared in <txmempool.h>

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.