hotstuff_rs::pacemaker::protocol

Function select_leader

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

Implements the Interleaved Weighted Round Robin algorithm for selecting a view leader. For internal use by the Pacemaker and PacemakerState methods.