CTxMemPool::CalculateAncestorData

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fd7537b8ab8), requires_capability(0x7fd74eec5448), requires_capability(0x7fd75e706a98), requires_capability(0x7fd759893268), requires_capability(0x7fd75ce05238), requires_capability(0x7fd759f6e6c8), requires_capability(0x7fd75b82e908), requires_capability(0x7fd73e8acb68)]]
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.