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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fb95f555208), requires_capability(0x7fb968bc6918), requires_capability(0x7fb95fdd0758), requires_capability(0x7fb978b75b18), requires_capability(0x7fb96b8fb078), requires_capability(0x7fb96e5c1b48), requires_capability(0x7fb97a07bb78), requires_capability(0x7fb96be438c8)]]
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

Name

Description

entry

The entry whose ancestor data is computed.

Created with MrDocs