82857dcb94
- `lib_node_p2p_base`: Base datatypes for the P2P layers - `lib_node_services`: RPC service definitions (depends on `node_p2p_base`) - `lib_node_http`: RPC http server - `lib_node_p2p`: the P2P workers
26 lines
938 B
OCaml
26 lines
938 B
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2017. *)
|
|
(* 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 {
|
|
net_id: Net_id.t ;
|
|
genesis: Block_hash.t ;
|
|
protocol: Protocol_hash.t ;
|
|
expiration: Time.t ;
|
|
}
|
|
|
|
val encoding: t Data_encoding.t
|
|
|
|
val pp : Format.formatter -> t -> unit
|