| 209 | } |
| 210 | |
| 211 | void CMainSignals::TransactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) { |
| 212 | auto event = [tx, reason, mempool_sequence, this] { |
| 213 | m_internals->Iterate([&](CValidationInterface& callbacks) { callbacks.TransactionRemovedFromMempool(tx, reason, mempool_sequence); }); |
| 214 | }; |
| 215 | ENQUEUE_AND_LOG_EVENT(event, "%s: txid=%s wtxid=%s", __func__, |
| 216 | tx->GetHash().ToString(), |
| 217 | tx->GetWitnessHash().ToString()); |
| 218 | } |
| 219 | |
| 220 | void CMainSignals::BlockConnected(const std::shared_ptr<const CBlock> &pblock, const CBlockIndex *pindex) { |
| 221 | auto event = [pblock, pindex, this] { |
no test coverage detected