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

Returns whether the transaction with the given txid has any in&hyphen;mempool descendants&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
HasDescendants(xref:Txid.adoc[Txid] const& txid) const;
----

== Return Value

true if the transaction has at least one descendant in the mempool&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txid*
| The txid to check&period;
|===


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