Alpha_context.Fitness
This module re-exports definitions from Fitness_repr
.
type raw = Mavryk_protocol_environment_alpha.Fitness.t
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unit
val create :
level:Raw_level.t ->
locked_round:Round.t option ->
predecessor_round:Round.t ->
round:Round.t ->
t Mavryk_protocol_environment_alpha.Error_monad.tzresult
val create_without_locked_round :
level:Raw_level.t ->
predecessor_round:Round.t ->
round:Round.t ->
t
val from_raw : raw -> t Mavryk_protocol_environment_alpha.Error_monad.tzresult
val round_from_raw :
raw ->
Round.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
val predecessor_round_from_raw :
raw ->
Round.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
val locked_round_from_raw :
raw ->
Round.t option Mavryk_protocol_environment_alpha.Error_monad.tzresult
val level : t -> Raw_level.t