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

Method hasDescendantsInMempool

src/node/interfaces.cpp:581–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;
584 LOCK(m_node.mempool->cs);
585 auto it = m_node.mempool->GetIter(txid);
586 return it && (*it)->GetCountWithDescendants() > 1;
587 }
588 bool broadcastTransaction(const CTransactionRef& tx,
589 const CAmount& max_tx_fee,
590 bool relay,

Callers 1

feebumper.cppFile · 0.80

Calls 2

GetIterMethod · 0.80

Tested by

no test coverage detected