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>

[[requires_capability(0x7fb95f5557e8), requires_capability(0x7fb968bc6ef8), requires_capability(0x7fb95fdd0d38), requires_capability(0x7fb978b760f8), requires_capability(0x7fb96b8fb658), requires_capability(0x7fb96e5c2128), requires_capability(0x7fb97a07c158), requires_capability(0x7fb96be43ea8)]]
void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

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