Function ethcore::engines::total_difficulty_fork_choice[][src]

pub fn total_difficulty_fork_choice<T: TotalScoredHeader>(
    new: &T,
    best: &T
) -> ForkChoice where
    <T as TotalScoredHeader>::Value: Ord

Check whether a given block is the best block based on the default total difficulty rule.