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(0x7f2e1b5a1cb8), requires_capability(0x7f2e2721acc8), requires_capability(0x7f2e421cc3d8), requires_capability(0x7f2e2880b398), requires_capability(0x7f2e3212e728), requires_capability(0x7f2e347f6db8), requires_capability(0x7f2e2b05b228), requires_capability(0x7f2e2bee28c8)]]
void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

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