[#CTxMemPool-GetAncestorCount] = xref:CTxMemPool.adoc[CTxMemPool]::GetAncestorCount :relfileprefix: ../ :mrdocs: Returns the number of in‐mempool ancestors of the given entry (including itself). == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int64_t GetAncestorCount(xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& e) const; ---- == Return Value The ancestor count. == Parameters [cols="1,4"] |=== | Name| Description | *e* | The mempool entry. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#