Function duniter::chain_spec::gen_genesis_data::generate_genesis_data
source ยท pub fn generate_genesis_data<P, SK, SessionKeys: Encode, SKP>(
config_file_path: String,
get_common_parameters: fn(_: &Option<P>) -> CommonParameters,
maybe_force_authority: Option<String>,
) -> Result<GenesisData<P, SK>, String>
Expand description
generate genesis data from a json file takes DUNITER_GENESIS_CONFIG env var if present or duniter-gen-conf.json by default