| 231 | } |
| 232 | |
| 233 | void ValidationSignals::MempoolTransactionsRemovedForBlock(const std::vector<RemovedMempoolTransactionInfo>& txs_removed_for_block, unsigned int nBlockHeight) |
| 234 | { |
| 235 | auto log_msg = LOG_MSG("%s: block height=%s txs removed=%s", __func__, |
| 236 | nBlockHeight, |
| 237 | txs_removed_for_block.size()); |
| 238 | auto event = [txs_removed_for_block, nBlockHeight, this] { |
| 239 | m_internals->Iterate([&](CValidationInterface& callbacks) { callbacks.MempoolTransactionsRemovedForBlock(txs_removed_for_block, nBlockHeight); }); |
| 240 | }; |
| 241 | ENQUEUE_AND_LOG_EVENT(std::move(event), std::move(log_msg)); |
| 242 | } |
| 243 | |
| 244 | void ValidationSignals::BlockDisconnected(std::shared_ptr<const CBlock> pblock, const CBlockIndex* pindex) |
| 245 | { |
no test coverage detected