| 583 | } |
| 584 | |
| 585 | bool TxOrphanageImpl::HaveTxFromPeer(const Wtxid& wtxid, NodeId peer) const |
| 586 | { |
| 587 | return m_orphans.get<ByWtxid>().count(ByWtxidView{wtxid, peer}) > 0; |
| 588 | } |
| 589 | |
| 590 | /** If there is a tx that can be reconsidered, return it and set it back to |
| 591 | * non-reconsiderable. Otherwise, return a nullptr. */ |