[#CTxMemPool-CalculateAncestorData] = xref:CTxMemPool.adoc[CTxMemPool]::CalculateAncestorData :relfileprefix: ../ :mrdocs: Compute the count, aggregate size, and aggregate fee of an entry's in‐mempool ancestors. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[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(xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& entry) const; ---- == Return Value A tuple of ancestor count, ancestor size, and ancestor fees. == Parameters [cols="1,4"] |=== | Name| Description | *entry* | The entry whose ancestor data is computed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#