CTxMemPool::removeRecursive

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>

void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

NameDescription
txThe transaction to remove along with its descendants.
reasonThe reason the transaction is being removed.