Function generate_stake_cdf

Source
pub fn generate_stake_cdf<Key: SignatureKey, Entry: StakeTableEntryType<Key>>(
    stake_table: Vec<Entry>,
    drb: [u8; 32],
) -> RandomizedCommittee<Entry>
Expand description

Generate the stake table CDF, as well as a hash of the resulting stake table