MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / requestMempoolTransactions

Method requestMempoolTransactions

src/node/interfaces.cpp:857–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855 return overwriteRwSetting(name, {}, action);
856 }
857 void requestMempoolTransactions(Notifications& notifications) override
858 {
859 if (!m_node.mempool) return;
860 LOCK2(::cs_main, m_node.mempool->cs);
861 for (const CTxMemPoolEntry& entry : m_node.mempool->entryAll()) {
862 notifications.transactionAddedToMempool(entry.GetSharedTx());
863 }
864 }
865 bool hasAssumedValidChain() override
866 {
867 LOCK(::cs_main);

Callers 2

postInitProcessMethod · 0.80

Calls 3

entryAllMethod · 0.80
GetSharedTxMethod · 0.80

Tested by

no test coverage detected