[#CTxMemPool-removeRecursive-03] = xref:CTxMemPool.adoc[CTxMemPool]::removeRecursive :relfileprefix: ../ :mrdocs: Remove a transaction from the mempool along with any descendants. If the transaction is not already in the mempool, find any descendants and remove them. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void removeRecursive( xref:CTransaction.adoc[CTransaction] const& tx, xref:MemPoolRemovalReason.adoc[MemPoolRemovalReason] reason); ---- == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction to remove along with its descendants. | *reason* | The reason the transaction is being removed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#