package tezos-shell-services

  1. Overview
  2. Docs
type chain_status =
  1. | Active_main of Tezos_crypto.Chain_id.t
  2. | Active_test of {
    1. chain : Tezos_crypto.Chain_id.t;
    2. protocol : Tezos_crypto.Protocol_hash.t;
    3. expiration_date : Tezos_base.Time.Protocol.t;
    }
  3. | Stopping of Tezos_crypto.Chain_id.t
val commit_hash : Tezos_rpc.RPC_context.simple -> (string, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val active_chains : Tezos_rpc.RPC_context.streamed -> (chain_status list Lwt_stream.t * Tezos_rpc.RPC_context.stopper, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
module S : sig ... end
OCaml

Innovation. Community. Security.