Module Octez_agnostic_baker.Parameters

val default_node_endpoint : string

Default endpoint to contact the node. Based on the Octez_node_config.Config_file.default_rpc_port.

val default_daily_logs_path : string option

Default logs path for the agnostic baker.

val extra_levels_for_old_baker : int

Number of extra levels to keep the old baker alive before shutting it down. This extra time is used to avoid halting the chain in cases such as reorganization or high round migration blocks.

type status =
  1. | Active
  2. | Frozen

Status of a protocol, based on Manifest/Product_octez/Protocol. A protocol is considered as Active while it is running on a network. Otherwise, the protocol is Frozen.

Warning, it is needed to update status for each new protocol added.

val pp_status : Stdlib.Format.formatter -> status -> unit
val status_encoding : status Data_encoding.t

protocol_status proto_hash returns whether the given proto_hash is Active or Frozen.