pub(crate) fn heaviest(&self) -> Option<Arc<Tipset>> {
        self.buckets()
            .iter()
            .filter_map(|b| b.heaviest_tipset())
            .max_by_key(|ts| ts.weight().clone())
    }
/// Heaviest tipset among all the buckets
Heaviest tipset among all the buckets
Heaviest tipset among all the buckets
pub(crate) fn heaviest(&self) -> Option<Arc<Tipset>> {
        self.buckets()
            .iter()
            .filter_map(|b| b.heaviest_tipset())
            .max_by_key(|ts| ts.weight().clone())
    }
pub ( crate ) fn heaviest ( & self ) -> Option < Arc < Tipset > > { self . buckets ( ) . iter ( ) . filter_map ( | b | b . heaviest_tipset ( ) ) . max_by_key ( | ts | ts . weight ( ) . clone ( ) ) }
Heaviest tipset among all the buckets
Heaviest tipset among all the buckets
&self