pub fn default_config(
n_members: NodeCount,
node_ix: NodeIndex,
session_id: SessionId,
max_round: Round,
time_to_reach_max_round: Duration,
) -> Result<Config, InvalidConfigError>
Expand description
Creates a Config
, allowing the user to omit specifying the delay_config
in which case it will be
set to default, suggested by the creators of this package. 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.