fn upgrade_state(
        &mut self,
        round: HeightRound,
        state: State,
        network: &mut Self::Network,
        block: Self::Block,
    ) {
        if self.upgrade_validator_state(&round, &self.id(), state) {
            let key = self.key();

            let reply = Self::Message::new(round, key, state, block);

            network.broadcast(&reply);
        }
    }
/// Upgrade the node state, returning true if there was a change
Upgrade the node state, returning true if there was a change
Upgrade the node state returning true if there was a change
fn upgrade_state(
        &mut self,
        round: HeightRound,
        state: State,
        network: &mut Self::Network,
        block: Self::Block,
    ) {
        if self.upgrade_validator_state(&round, &self.id(), state) {
            let key = self.key();
            let reply = Self::Message::new(round, key, state, block);
            network.broadcast(&reply);
        }
    }
fn upgrade_state ( & mut self , round : HeightRound , state : State , network : & mut Self :: Network , block : Self :: Block , ) { if self . upgrade_validator_state ( & round , & self . id ( ) , state ) { let key = self . key ( ) ; let reply = Self :: Message :: new ( round , key , state , block ) ; network . broadcast ( & reply ) ; } }
Upgrade the node state, returning true if there was a change
Upgrade the node state returning true if there was a change
&mut self
round
HeightRound
state
State
network
&mut Self::Network
block
Self::Block
&mut self
round
HeightRound
state
State
network
&mut Self::Network
block
Self::Block