| 140 | } |
| 141 | |
| 142 | void CZMQNotificationInterface::TransactionAddedToMempool(const CTransactionRef& ptx, uint64_t mempool_sequence) |
| 143 | { |
| 144 | const CTransaction& tx = *ptx; |
| 145 | |
| 146 | TryForEachAndRemoveFailed(notifiers, [&tx, mempool_sequence](CZMQAbstractNotifier* notifier) { |
| 147 | return notifier->NotifyTransaction(tx) && notifier->NotifyTransactionAcceptance(tx, mempool_sequence); |
| 148 | }); |
| 149 | } |
| 150 | |
| 151 | void CZMQNotificationInterface::TransactionRemovedFromMempool(const CTransactionRef& ptx, MemPoolRemovalReason reason, uint64_t mempool_sequence) |
| 152 | { |
nothing calls this directly
no test coverage detected