pub(crate) fn is_terminal_block(&self, bhash: &C::Hash) -> bool {
        self.blocks.get(bhash).map_or(false, |block| {
            block.height.saturating_add(1) >= self.params.end_height()
                && self.unit(bhash).timestamp >= self.params.end_timestamp()
        })
    }
/// Returns `true` if the `bhash` is a block that can have no children.
Returns `true` if the `bhash` is a block that can have no children.
Returns ` true ` if the ` bhash ` is a block that can have no children .
pub(crate) fn is_terminal_block(&self, bhash: &C::Hash) -> bool {
        self.blocks.get(bhash).map_or(false, |block| {
            block.height.saturating_add(1) >= self.params.end_height()
                && self.unit(bhash).timestamp >= self.params.end_timestamp()
        })
    }
pub ( crate ) fn is_terminal_block ( & self , bhash : & C :: Hash ) -> bool { self . blocks . get ( bhash ) . map_or ( false , | block | { block . height . saturating_add ( 1 ) >= self . params . end_height ( ) && self . unit ( bhash ) . timestamp >= self . params . end_timestamp ( ) } ) }
Returns `true` if the `bhash` is a block that can have no children.
Returns ` true ` if the ` bhash ` is a block that can have no children .
&self
bhash
&C::Hash
&self
bhash
&C::Hash