[#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(0x7f95135d1868), requires&lowbar;capability(0x7f9501b10c48), requires&lowbar;capability(0x7f950ec76e38), requires&lowbar;capability(0x7f9525ea6b88), requires&lowbar;capability(0x7f95150962c8), requires&lowbar;capability(0x7f950826a568), requires&lowbar;capability(0x7f94f856dc78), requires&lowbar;capability(0x7f9513c57e68)&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]#
