Protocol_versionmodule Stable : sig ... endtype t = Stable.Latest.tval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval major : t -> intval minor : t -> intval patch : t -> intval create_exn : major:int -> minor:int -> patch:int -> tval create_opt : major:int -> minor:int -> patch:int -> t optionval get_current : unit -> tval set_current : t -> unitval get_proposed_opt : unit -> t optionval set_proposed_opt : t option -> unitval zero : tval compatible_with_daemon : t -> boola daemon can accept blocks or RPC responses with compatible protocol versions
val to_string : t -> stringval of_string_exn : string -> tval of_string_opt : string -> t optionval is_valid : t -> booluseful when deserializing, could contain negative integers