Module Configuration.Cli

val configuration_from_args : rpc_addr:string option -> rpc_port:int option -> acl_override:[ `Allow_all | `Secure ] option -> metrics_addr:string option -> loser_mode:Loser_mode.t option -> reconnection_delay:float option -> dal_node_endpoint:Uri.t option -> dac_observer_endpoint:Uri.t option -> dac_timeout:Z.t option -> pre_images_endpoint:Uri.t option -> injector_retention_period:int option -> injector_attempts:int option -> injection_ttl:int option -> mode:mode -> sc_rollup_address:Mavryk_crypto.Hashed.Smart_rollup_address.t -> boot_sector_file:string option -> operators: [< `Default of Mavryk_crypto.Signature.public_key_hash | `Purpose of Purpose.ex_purpose * Mavryk_crypto.Signature.public_key_hash ] list -> index_buffer_size:int option -> irmin_cache_size:int option -> log_kernel_debug:bool -> no_degraded:bool -> gc_frequency:int32 option -> history_mode:history_mode option -> allowed_origins:string list option -> allowed_headers:string list option -> apply_unsafe_patches:bool -> t Mavryk_base.TzPervasives.tzresult
val create_or_read_config : data_dir:string -> rpc_addr:string option -> rpc_port:int option -> acl_override:[ `Allow_all | `Secure ] option -> metrics_addr:string option -> loser_mode:Loser_mode.t option -> reconnection_delay:float option -> dal_node_endpoint:Uri.t option -> dac_observer_endpoint:Uri.t option -> dac_timeout:Z.t option -> pre_images_endpoint:Uri.t option -> injector_retention_period:int option -> injector_attempts:int option -> injection_ttl:int option -> mode:mode option -> sc_rollup_address:Mavryk_client_base.Smart_rollup_alias.Address.t option -> boot_sector_file:string option -> operators: [< `Default of Mavryk_crypto.Signature.public_key_hash | `Purpose of Purpose.ex_purpose * Mavryk_crypto.Signature.public_key_hash ] list -> index_buffer_size:int option -> irmin_cache_size:int option -> log_kernel_debug:bool -> no_degraded:bool -> gc_frequency:int32 option -> history_mode:history_mode option -> allowed_origins:string list option -> allowed_headers:string list option -> apply_unsafe_patches:bool -> t Mavryk_base.TzPervasives.tzresult Lwt.t