fn init_fallback_state(&mut self) {
        self.height = 1;
        for (node, _) in &self.committee.authorities {
            self.fallback_voted_height.insert(*node, 0);
            self.fallback_voted_round.insert(*node, 0);
            self.fallback_qcs.insert(*node, self.high_qc.clone());
        }
    }
// Executed when entering a new fallback
Executed when entering a new fallback
Executed when entering a new fallback
fn init_fallback_state(&mut self) {
        self.height = 1;
        for (node, _) in &self.committee.authorities {
            self.fallback_voted_height.insert(*node, 0);
            self.fallback_voted_round.insert(*node, 0);
            self.fallback_qcs.insert(*node, self.high_qc.clone());
        }
    }
fn init_fallback_state ( & mut self ) { self . height = 1 ; for ( node , _ ) in & self . committee . authorities { self . fallback_voted_height . insert ( * node , 0 ) ; self . fallback_voted_round . insert ( * node , 0 ) ; self . fallback_qcs . insert ( * node , self . high_qc . clone ( ) ) ; } }
Executed when entering a new fallback
Executed when entering a new fallback
&mut self
&mut self