package tezos-base

  1. Overview
  2. Docs
type t =
  1. | Not_running
  2. | Forking of {
    1. protocol : Tezos_crypto.Hashed.Protocol_hash.t;
    2. expiration : Time.Protocol.t;
    }
  3. | Running of {
    1. chain_id : Tezos_crypto.Hashed.Chain_id.t;
    2. genesis : Tezos_crypto.Hashed.Block_hash.t;
    3. protocol : Tezos_crypto.Hashed.Protocol_hash.t;
    4. expiration : Time.Protocol.t;
    }
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.