pub(super) fn add_propose_confirmed_by_majority(
        &mut self,
        round: Round,
        propose_hash: Hash,
        block_hash: Hash,
    ) {
        let old_value = self
            .precommits_confirmed_by_majority
            .insert(propose_hash, (round, block_hash));

        debug_assert!(
            old_value.is_none(),
            "Attempt to add propose confirmed by majority twice"
        );
    }
/// Adds a propose that was confirmed by a majority of
/// validator nodes without our participation.
Adds a propose that was confirmed by a majority of
validator nodes without our participation.
Adds a propose that was confirmed by a majority of validator nodes without our participation .
pub(super) fn add_propose_confirmed_by_majority(
        &mut self,
        round: Round,
        propose_hash: Hash,
        block_hash: Hash,
    ) {
        let old_value = self
            .precommits_confirmed_by_majority
            .insert(propose_hash, (round, block_hash));
        debug_assert!(
            old_value.is_none(),
            "Attempt to add propose confirmed by majority twice"
        );
    }
pub ( super ) fn add_propose_confirmed_by_majority ( & mut self , round : Round , propose_hash : Hash , block_hash : Hash , ) { let old_value = self . precommits_confirmed_by_majority . insert ( propose_hash , ( round , block_hash ) ) ; debug_assert ! ( old_value is_none ( ) " " ) ; }
Adds a propose that was confirmed by a majority of
validator nodes without our participation.
Adds a propose that was confirmed by a majority of validator nodes without our participation .
&mut self
round
Round
propose_hash
Hash
block_hash
Hash
&mut self
round
Round
propose_hash
Hash
block_hash
Hash