Return whether there is a tx that can be reconsidered. */
| 607 | |
| 608 | /** Return whether there is a tx that can be reconsidered. */ |
| 609 | bool TxOrphanageImpl::HaveTxToReconsider(NodeId peer) |
| 610 | { |
| 611 | auto it = m_orphans.get<ByPeer>().lower_bound(ByPeerView{peer, true, 0}); |
| 612 | return it != m_orphans.get<ByPeer>().end() && it->m_announcer == peer && it->m_reconsider; |
| 613 | } |
| 614 | |
| 615 | void TxOrphanageImpl::EraseForBlock(const CBlock& block) |
| 616 | { |