[#CTxMemPool-ChangeSet-CalculateMemPoolAncestors] = xref:CTxMemPool.adoc[CTxMemPool]::xref:CTxMemPool/ChangeSet.adoc[ChangeSet]::CalculateMemPoolAncestors :relfileprefix: ../../ :mrdocs: Calculate the in‐mempool ancestors of a staged transaction, caching the result. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxMemPool/setEntries.adoc[CTxMemPool::setEntries] CalculateMemPoolAncestors(xref:CTxMemPool/ChangeSet/TxHandle.adoc[TxHandle] tx); ---- == Return Value The in‐mempool ancestors, excluding transactions in the changeset itself. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | Handle to the staged transaction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#