| 570 | } |
| 571 | |
| 572 | bool TxOrphanageImpl::HaveTx(const Wtxid& wtxid) const |
| 573 | { |
| 574 | auto it_lower = m_orphans.get<ByWtxid>().lower_bound(ByWtxidView{wtxid, MIN_PEER}); |
| 575 | return it_lower != m_orphans.get<ByWtxid>().end() && it_lower->m_tx->GetWitnessHash() == wtxid; |
| 576 | } |
| 577 | |
| 578 | CTransactionRef TxOrphanageImpl::GetTx(const Wtxid& wtxid) const |
| 579 | { |