Module Octez_rpc_process.Watchdog_parameters

type process_info = {
  1. config : Octez_node_config.Config_file.t;
  2. internal_events : Tezos_base.Internal_event_config.t;
  3. rpc_comm_socket_path : string;
  4. node_version : Tezos_version.Octez_node_version.t;
}

Information required to start and manage an RPC server process.

  • parameter config

    Configuration for the RPC server

  • parameter internal_events

    Configuration for internal event handling

  • parameter rpc_comm_socket_path

    Path to the socket used for RPC communication

  • parameter node_version

    Version of the Octez node

type parameters = {
  1. internal_events : Tezos_base.Internal_event_config.t;
}

Parameters for the watchdog process.

  • parameter internal_events

    Configuration for internal event handling

type _ request =
  1. | Start_server : process_info -> unit request
  2. | Close_server : string -> unit request
  3. | Terminate : unit request
  4. | Reconfigure_event_logging : Tezos_base_unix.Internal_event_unix.Configuration.t -> unit request

Request type for watchdog operations:

  • Start_server: Starts a new RPC server with the provided configuration
  • Close_server: Closes a running server identified by the socket path
  • Terminate: Gracefully shuts down the watchdog process
  • Reconfigure_event_logging: Updates the event logging configuration
val name : string
val request_pp : Stdlib.Format.formatter -> 'response request -> unit
type packed_request =
  1. | Erequest : _ request -> packed_request
val result_encoding : 'response request -> 'response Tezos_base.TzPervasives.Data_encoding.t
val reconfigure_event_logging_request : Tezos_base.Internal_event_config.t -> unit request
val terminate_request : packed_request
val socket_path_prefix : string
val socket_path : socket_dir:string -> pid:int -> string
val command_line_args : socket_dir:string -> string * string list
val hypervisor_name : string
val share_sink : bool

* When true, indicates that the sink should be shared between * the parent process and child processes. This affects how * environment variables are handled when starting external processes.