Evm_node_lib_dev.Rpc_servertype evm_services_methods = {next_blueprint_number : unit ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity Lwt.t;find_blueprint : Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
Blueprint_types.with_events option Tezos_base.TzPervasives.tzresult Lwt.t;find_blueprint_legacy : Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
Blueprint_types.Legacy.with_events option Tezos_base.TzPervasives.tzresult
Lwt.t;smart_rollup_address : Octez_smart_rollup.Address.t;time_between_blocks : Evm_node_config.Configuration.time_between_blocks;}val start_private_server :
mode:'f Mode.t ->
rpc_server_family:'f Rpc_types.rpc_server_family ->
tick:(unit -> unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
?block_production:block_production ->
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
finalizer Tezos_base.TzPervasives.tzresult Lwt.tstart_private_server ~block_production config ctxt starts the private RPC server with low-level, internal services which should not be exposed to the Internet. If config does not provide the necessary information to start a private RPC server, then start_private_server is a no-op.
block_production is used to tailor the private RPC server to the particular need of the EVM node mode at use, more particularly which methods are available wrt. block production. `Single_node starts the default private RPC server, as used in the single node sequencer setup, `Disabled means no block production method is available.
val start_public_server :
mode:'f Mode.t ->
rpc_server_family:'f Rpc_types.rpc_server_family ->
l2_chain_id:Evm_node_lib_dev_encoding.L2_types.chain_id option ->
tick:(unit -> unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
?evm_services:evm_services_methods ->
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
finalizer Tezos_base.TzPervasives.tzresult Lwt.tstart_public_server config ctxt starts the RPC servers as per specified in config.
The optional argument evm_services_methods can be used to install the EVM services.
If the host provides the necessary binaries, performance metrics are enabled.