Function consensus_config::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.