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(0x7ff37b41f688), requires_capability(0x7ff376fd7038), requires_capability(0x7ff38def6258), requires_capability(0x7ff3640f7268), requires_capability(0x7ff3920f7558), requires_capability(0x7ff37f5c9678), requires_capability(0x7ff37d0108f8), requires_capability(0x7ff374c14108)]]
void
removeRecursive(
    CTransaction const& tx,
    MemPoolRemovalReason reason);

Parameters

Name

Description

tx

The transaction to remove along with its descendants.

reason

The reason the transaction is being removed.

Created with MrDocs