[#CTxMemPool-CalculateDescendantData]
= xref:CTxMemPool.adoc[CTxMemPool]::CalculateDescendantData
:relfileprefix: ../
:mrdocs:

Compute the count, aggregate size, and aggregate fee of an entry&apos;s in&hyphen;mempool descendants&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b5a1798), requires&lowbar;capability(0x7f2e2721a7a8), requires&lowbar;capability(0x7f2e421cbeb8), requires&lowbar;capability(0x7f2e2880ae78), requires&lowbar;capability(0x7f2e3212e208), requires&lowbar;capability(0x7f2e347f6898), requires&lowbar;capability(0x7f2e2b05ad08), requires&lowbar;capability(0x7f2e2bee23a8)&rsqb;&rsqb;
std::tuple&lt;size&lowbar;t, size&lowbar;t, CAmount&gt;
CalculateDescendantData(xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& entry) const;
----

== Return Value

A tuple of descendant count, descendant size, and descendant fees&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry*
| The entry whose descendant data is computed&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
