Evm_node_config.Configurationtype log_filter_config = {max_nb_blocks : int;Maximum block range for get_logs.
max_nb_logs : int;Maximum number of logs that get_logs can return.
chunk_size : int;Number of blocks that will be filtered in a batch before checking if the bound on produced logs has been reached. See get_logs for more details.
}type time_between_blocks = | NothingDoes not produce any block if not forced by the private RPC
*)| Time_between_blocks of floatMaximum time interval between blocks. If transactions are present in the tx pool, blocks will be created as soon as possible. However, if there are no transactions to include, a block is produced after time_between_blocks.
type sequencer = {rollup_node_endpoint : Uri.t;Rollup node endpoint used to make blueprints available and monitor the delayed inbox.
*)preimages : string;Path to the preimages directory.
*)preimages_endpoint : Uri.t option;Endpoint where pre-images can be fetched individually when missing.
*)time_between_blocks : time_between_blocks;max_number_of_chunks : int;The maximum number of chunks per blueprints.
*)private_rpc_port : int option;Port for internal RPC services
*)sequencer : Mavryk_base.TzPervasives.Signature.public_key_hash;The key used to sign the blueprints.
*)}type t = {rpc_addr : string;rpc_port : int;devmode : bool;cors_origins : string list;cors_headers : string list;log_filter : log_filter_config;proxy : proxy option;sequencer : sequencer option;observer : observer option;max_active_connections : Mavryk_rpc_http_server.RPC_server.Max_active_rpc_connections.t;tx_pool_timeout_limit : int64;tx_pool_addr_limit : int64;tx_pool_tx_per_addr_limit : int64;}config_filename data_dir returns the configuration filename from the data_dir
val save :
force:bool ->
data_dir:string ->
t ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tsave ~force ~data_dir configuration writes the configuration file in data_dir. If force is true, existing configurations are overwritten.
val load : data_dir:string -> t Mavryk_base.TzPervasives.tzresult Lwt.tload ~data_dir loads a proxy configuration stored in data_dir.
val proxy_config_exn : t -> proxy Mavryk_base.TzPervasives.tzresultproxy_config_exn config returns the proxy config of config or fails
val sequencer_config_exn : t -> sequencer Mavryk_base.TzPervasives.tzresultsequencer_config_exn config returns the sequencer config of config or fails
val observer_config_exn : t -> observer Mavryk_base.TzPervasives.tzresultobserver_config_exn config returns the observer config of config or fails
val sequencer_config_dft :
?preimages:string ->
?preimages_endpoint:Uri.t ->
?time_between_blocks:time_between_blocks ->
?max_number_of_chunks:int ->
?private_rpc_port:int ->
rollup_node_endpoint:Uri.t ->
sequencer:Mavryk_base.TzPervasives.Signature.public_key_hash ->
unit ->
sequencersequencer_config_dft () returns the default sequencer config populated with given value.
val observer_config_dft :
?preimages:string ->
?preimages_endpoint:Uri.t ->
evm_node_endpoint:Uri.t ->
unit ->
observerobserver_config_dft () returns the default observer config populated with given value.
module Cli : sig ... end