Notifies listeners of transactions removed from the mempool as as a result of new block being connected. MempoolTransactionsRemovedForBlock will be fired before BlockConnected.
Declared in <validationinterface.h>
virtual
void
MempoolTransactionsRemovedForBlock(
std::shared_ptr<CBlock const> const& block,
std::vector<RemovedMempoolTransactionInfo> const& txs_removed_for_block,
unsigned int block_height);
Not fired while initial block download is active.
Called on a background thread.
| Name | Description |
|---|---|
| block | The block whose connection triggered the removals. |
| txs_removed_for_block | The transactions removed because they were included in the block. |
| block_height | Height of the connected block. |