fn is_better_block_proposal_available(
        &self,
        pool: &PoolReader<'_>,
        height: Height,
        rank: Rank,
    ) -> bool {
        if let Some(block) = find_lowest_ranked_proposals(pool, height).first() {
            return block.rank() < rank;
        }
        false
    }
/// Return true if the validated pool contains a better (lower ranked) block
/// proposal than the given rank, for the given height.
Return true if the validated pool contains a better (lower ranked) block
proposal than the given rank, for the given height.
Return true if the validated pool contains a better ( lower ranked ) block proposal than the given rank for the given height .
fn is_better_block_proposal_available(
        &self,
        pool: &PoolReader<'_>,
        height: Height,
        rank: Rank,
    ) -> bool {
        if let Some(block) = find_lowest_ranked_proposals(pool, height).first() {
            return block.rank() < rank;
        }
        false
    }
fn is_better_block_proposal_available ( & self , pool : & PoolReader < ' _ > , height : Height , rank : Rank , ) -> bool { if let Some ( block ) = find_lowest_ranked_proposals ( pool , height ) . first ( ) { return block . rank ( ) < rank ; } false }
Return true if the validated pool contains a better (lower ranked) block
proposal than the given rank, for the given height.
Return true if the validated pool contains a better ( lower ranked ) block proposal than the given rank for the given height .
&self
pool
&PoolReader<'_>
height
Height
rank
Rank
&self
pool
&PoolReader<'_>
height
Height
rank
Rank