consensus_config

Function local_committee_and_keys

Source
pub fn local_committee_and_keys(
    epoch: Epoch,
    authorities_stake: Vec<Stake>,
) -> (Committee, Vec<(NetworkKeyPair, ProtocolKeyPair)>)
Expand description

Creates a committee for local testing, and the corresponding key pairs for the authorities.