Function aleph_bft::create_config

source ·
pub fn create_config(
    n_members: NodeCount,
    node_ix: NodeIndex,
    session_id: SessionId,
    max_round: Round,
    delay_config: DelayConfig,
    time_to_reach_max_round: Duration
) -> Result<Config, InvalidConfigError>
Expand description

Creates a Config which wraps the passed arguments. time_to_reach_max_round is a lower bound on the time needed to reach the maximum round expected by the user and is only used for verification.