hotstuff_rs::pacemaker::implementation

Function select_leader

source
pub fn select_leader(
    view: ViewNumber,
    validator_set: &ValidatorSet,
) -> VerifyingKey
Expand description

Deterministically select a replica in validator_set to become the leader of view using the Interleaved WRR algorithm.

Read more.