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

Method requestMempoolTransactions

src/node/interfaces.cpp:714–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712 return !write || gArgs.WriteSettingsFile();
713 }
714 void requestMempoolTransactions(Notifications& notifications) override
715 {
716 if (!m_node.mempool) return;
717 LOCK2(::cs_main, m_node.mempool->cs);
718 for (const CTxMemPoolEntry& entry : m_node.mempool->mapTx) {
719 notifications.transactionAddedToMempool(entry.GetSharedTx(), 0 /* mempool_sequence */);
720 }
721 }
722// ELEMENTS
723 MempoolAcceptResult testPeginClaimAcceptance(const CTransactionRef tx) override {
724 LOCK(::cs_main);

Callers 1

postInitProcessMethod · 0.80

Calls 2

GetSharedTxMethod · 0.80

Tested by

no test coverage detected