[#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(0x7f2e1b5a16d8), requires_capability(0x7f2e2721a6e8), requires_capability(0x7f2e421cbdf8), requires_capability(0x7f2e2880adb8), requires_capability(0x7f2e3212e148), requires_capability(0x7f2e347f67d8), requires_capability(0x7f2e2b05ac48), requires_capability(0x7f2e2bee22e8)]] 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]#