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(0x7f95135d1d88), requires_capability(0x7f9501b11168), requires_capability(0x7f950ec77358), requires_capability(0x7f9525ea70a8), requires_capability(0x7f95150967e8), requires_capability(0x7f950826aa88), requires_capability(0x7f94f856e198), requires_capability(0x7f9513c58388)]]
void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

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