ligo/src/lib_base/test_chain_status.mli

26 lines
942 B
OCaml
Raw Normal View History

2016-11-29 00:54:32 +04:00
(**************************************************************************)
(* *)
2018-02-06 00:17:03 +04:00
(* Copyright (c) 2014 - 2018. *)
2016-11-29 00:54:32 +04:00
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
type t =
| Not_running
| Forking of {
protocol: Protocol_hash.t ;
expiration: Time.t ;
}
| Running of {
2018-02-16 04:26:24 +04:00
chain_id: Chain_id.t ;
genesis: Block_hash.t ;
protocol: Protocol_hash.t ;
expiration: Time.t ;
}
2016-11-29 00:54:32 +04:00
val encoding: t Data_encoding.t
2016-11-29 00:54:32 +04:00
val pp : Format.formatter -> t -> unit