fedimint_server::config::io

Function write_server_config

Source
pub fn write_server_config(
    server: &ServerConfig,
    path: &Path,
    password: &str,
    module_config_gens: &ServerModuleInitRegistry,
    api_secret: Option<String>,
) -> Result<()>
Expand description

Writes the server into configuration files (private keys encrypted)