package tezos-protocol-environment

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. expected_env : env_version;
  2. components : component list;
}
and component = {
  1. name : string;
  2. interface : string option;
  3. implementation : string;
}

An OCaml source component of a protocol implementation.

and env_version =
  1. | V0
  2. | V1
  3. | V2
  4. | V3
  5. | V4
val component_encoding : component Data_encoding.t
val env_version_encoding : env_version Data_encoding.t
include S.HASHABLE with type t := t and type hash := Protocol_hash.t
include S.T with type t := t
include Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val pp : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> bytes
val of_bytes : bytes -> t option
val hash : t -> Protocol_hash.t
val hash_raw : bytes -> Protocol_hash.t