pub fn fork_choice(&self) -> Result<(), Error> {
        metrics::inc_counter(&metrics::FORK_CHOICE_REQUESTS);
        let _timer = metrics::start_timer(&metrics::FORK_CHOICE_TIMES);

        let result = self.fork_choice_internal();

        if result.is_err() {
            metrics::inc_counter(&metrics::FORK_CHOICE_ERRORS);
        }

        result
    }
/// Execute the fork choice algorithm and enthrone the result as the canonical head.
Execute the fork choice algorithm and enthrone the result as the canonical head.
Execute the fork choice algorithm and enthrone the result as the canonical head .
pub fn fork_choice(&self) -> Result<(), Error> {
        metrics::inc_counter(&metrics::FORK_CHOICE_REQUESTS);
        let _timer = metrics::start_timer(&metrics::FORK_CHOICE_TIMES);
        let result = self.fork_choice_internal();
        if result.is_err() {
            metrics::inc_counter(&metrics::FORK_CHOICE_ERRORS);
        }
        result
    }
pub fn fork_choice ( & self ) -> Result < ( ) , Error > { metrics :: inc_counter ( & metrics :: FORK_CHOICE_REQUESTS ) ; let _timer = metrics :: start_timer ( & metrics :: FORK_CHOICE_TIMES ) ; let result = self . fork_choice_internal ( ) ; if result . is_err ( ) { metrics :: inc_counter ( & metrics :: FORK_CHOICE_ERRORS ) ; } result }
Execute the fork choice algorithm and enthrone the result as the canonical head.
Execute the fork choice algorithm and enthrone the result as the canonical head .
&self