snarkvm_synthesizer::vm

Function to_next_committee

Source
pub fn to_next_committee<N: Network>(
    current_committee: &Committee<N>,
    next_round: u64,
    next_delegated: &IndexMap<Address<N>, u64>,
) -> Result<Committee<N>>
Expand description

Returns the next committee, given the current committee and stakers.