[#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"] ---- 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]#