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(0x7fd7537b9098), requires_capability(0x7fd74eec5a28), requires_capability(0x7fd75e707078), requires_capability(0x7fd759893848), requires_capability(0x7fd75ce05818), requires_capability(0x7fd759f6eca8), requires_capability(0x7fd75b82eee8), requires_capability(0x7fd73e8ad148)]]
void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

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