leader_index

Function leader_index 

Source
pub fn leader_index(seed: &[u8], participants: usize) -> usize
Expand description

The leader for a given seed is determined by the modulo of the seed with the number of participants.