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

Method isInMempool

src/node/interfaces.cpp:575–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573 return IsRBFOptIn(tx, *m_node.mempool);
574 }
575 bool isInMempool(const uint256& txid) override
576 {
577 if (!m_node.mempool) return false;
578 LOCK(m_node.mempool->cs);
579 return m_node.mempool->exists(GenTxid::Txid(txid));
580 }
581 bool hasDescendantsInMempool(const uint256& txid) override
582 {
583 if (!m_node.mempool) return false;

Callers 1

RefreshMempoolStatusFunction · 0.80

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected