Mavbox.Mavryk_nodetype t = private {id : Internal_pervasives.string;expected_connections : Internal_pervasives.int;rpc_port : Internal_pervasives.int;p2p_port : Internal_pervasives.int;peers : Internal_pervasives.int Internal_pervasives.list;exec : Mavryk_executable.t;protocol : Mavryk_protocol.t;history_mode : [ `Archive
| `Full of Internal_pervasives.int
| `Rolling of Internal_pervasives.int ]
Internal_pervasives.option;single_process : Internal_pervasives.bool;cors_origin : Internal_pervasives.string Internal_pervasives.option;custom_network : custom_network Internal_pervasives.option;}val compare : t -> t -> Internal_pervasives.intval equal : t -> t -> Internal_pervasives.boolval ef : t -> Easy_format.tval pp : t Fmt.tval make :
?cors_origin:Internal_pervasives.string ->
exec:Mavryk_executable.t ->
?protocol:Mavryk_protocol.t ->
?custom_network:[ `Json of Ezjsonm.value ] ->
?single_process:Internal_pervasives.bool ->
?history_mode:
[ `Archive
| `Full of Internal_pervasives.int
| `Rolling of Internal_pervasives.int ] ->
Internal_pervasives.string ->
expected_connections:Internal_pervasives.int ->
rpc_port:Internal_pervasives.int ->
p2p_port:Internal_pervasives.int ->
Internal_pervasives.int Internal_pervasives.list ->
tCreate a node value (inert, not started), see "mavkit-node run --help" for corresponding parameters.
?single_process: defaults to true (for now since multi-process validations still suffers from some bugs).?history_mode: defaults to leaving the node's default (i.e. `Full).?cors_origin: defaults to Some "*" (most permissive).val data_dir : < paths : Paths.t.. > -> t -> Internal_pervasives.stringval config_file : < paths : Paths.t.. > -> t -> Internal_pervasives.stringval identity_file : < paths : Paths.t.. > -> t -> Internal_pervasives.stringval log_output : < paths : Paths.t.. > -> t -> Internal_pervasives.stringval exec_path : < paths : Paths.t.. > -> t -> Internal_pervasives.stringval node_command :
< env_config : Environment_configuration.t ; paths : Paths.t.. > ->
t ->
Internal_pervasives.string Internal_pervasives.list ->
Internal_pervasives.string Internal_pervasives.list ->
Internal_pervasives.unit Genspio.Language.tval run_command :
< env_config : Environment_configuration.t ; paths : Paths.t.. > ->
t ->
Internal_pervasives.unit Genspio.Language.tval start_script :
< env_config : Environment_configuration.t ; paths : Paths.t.. > ->
t ->
Internal_pervasives.unit Genspio.Language.tval process :
< env_config : Environment_configuration.t ; paths : Paths.t.. > ->
t ->
Running_processes.Process.tval protocol : t -> Mavryk_protocol.tval connections :
t Internal_pervasives.list ->
[ `Duplex of t * t
| `From_to of t * t
| `Missing of t * Internal_pervasives.int ]
Internal_pervasives.listmodule History_modes : sig ... endmodule Config_file : sig ... end