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

Calculate all in&hyphen;mempool ancestors of entry (not including the tx itself)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95135d2e28), requires&lowbar;capability(0x7f9501b12208), requires&lowbar;capability(0x7f950ec783f8), requires&lowbar;capability(0x7f9525ea8148), requires&lowbar;capability(0x7f9515097888), requires&lowbar;capability(0x7f950826bb28), requires&lowbar;capability(0x7f94f856f238), requires&lowbar;capability(0x7f9513c59428)&rsqb;&rsqb;
xref:CTxMemPool/setEntries.adoc[setEntries]
CalculateMemPoolAncestors(xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& entry) const;
----

== Return Value

all in&hyphen;mempool ancestors

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry* [in]
| CTxMemPoolEntry of which all in&hyphen;mempool ancestors are calculated
|===


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