package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error +=
  1. | Invalid_fitness
  2. | Wrong_fitness
  3. | Outdated_fitness
type raw = bytes list
type t
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
val create : level:Raw_level.t -> locked_round:Round.t option -> predecessor_round:Round.t -> round:Round.t -> (t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result
val create_without_locked_round : level:Raw_level.t -> predecessor_round:Round.t -> round:Round.t -> t
val to_raw : t -> raw
val from_raw : raw -> (t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result
val round_from_raw : raw -> (Round.t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result
val predecessor_round_from_raw : raw -> (Round.t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result
val level : t -> Raw_level.t
val round : t -> Round.t
val locked_round : t -> Round.t option
val predecessor_round : t -> Round.t
OCaml

Innovation. Community. Security.