MCPcopy Create free account
hub / github.com/ElementsProject/elements / TransactionRemovedFromMempool

Method TransactionRemovedFromMempool

src/validationinterface.cpp:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void 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
220void CMainSignals::BlockConnected(const std::shared_ptr<const CBlock> &pblock, const CBlockIndex *pindex) {
221 auto event = [pblock, pindex, this] {

Callers 1

removeUncheckedMethod · 0.45

Calls 3

IterateMethod · 0.45
ToStringMethod · 0.45
GetHashMethod · 0.45

Tested by

no test coverage detected