Module Octez_smart_rollup_node.Rpc_serverSource

Sourcetype t
Sourceval start : Configuration.t -> unit Tezos_rpc.Directory.t -> t Tezos_base.TzPervasives.tzresult Lwt.t

start node_ctxt config starts an RPC server listening for requests on the port config.rpc_port and address config.rpc_addr.

Sourceval shutdown : t -> unit Lwt.t

Shutdown a running RPC server. When this function is called, the rollup node will stop listening to incoming requests.