Module Alpha_context.Fitness

This module re-exports definitions from Fitness_repr.

type Mavryk_protocol_environment_001_PtAtLas.Error_monad.error +=
  1. | Invalid_fitness
  2. | Wrong_fitness
  3. | Outdated_fitness
type t
val create : level:Raw_level.t -> locked_round:Round.t option -> predecessor_round:Round.t -> round:Round.t -> t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
val create_without_locked_round : level:Raw_level.t -> predecessor_round:Round.t -> round:Round.t -> t
val to_raw : t -> raw
val level : t -> Raw_level.t
val round : t -> Round.t
val locked_round : t -> Round.t option
val predecessor_round : t -> Round.t