fedimint_testing::federation

Function local_config_gen_params

Source
pub fn local_config_gen_params(
    peers: &[PeerId],
    base_port: u16,
    server_config_gen: &ServerModuleConfigGenParamsRegistry,
) -> Result<HashMap<PeerId, ConfigGenParams>>
Expand description

Creates the config gen params for each peer

Uses peers * 2 ports offset from base_port