[#CValidationInterface-MempoolTransactionsRemovedForBlock] = xref:CValidationInterface.adoc[CValidationInterface]::MempoolTransactionsRemovedForBlock :relfileprefix: ../ :mrdocs: Notifies listeners of transactions removed from the mempool as as a result of new block being connected. MempoolTransactionsRemovedForBlock will be fired before BlockConnected. == Synopsis Declared in `<validationinterface.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void MempoolTransactionsRemovedForBlock( std::shared_ptr<CBlock const> const& block, std::vector<RemovedMempoolTransactionInfo> const& txs_removed_for_block, unsigned int block_height); ---- == Description Not fired while initial block download is active. Called on a background thread. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#