| 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, |
no test coverage detected