Tezos_raw_protocol_008_PtEdoTez.Level_reprtype t = private {level : Raw_level_repr.t;The level of the block relative to genesis. This is also the Shell's notion of level.
*)level_position : int32;The level of the block relative to the block that started the first version of protocol alpha.
*)cycle : Cycle_repr.t;The current cycle's number. Note that cycles are a protocol-specific notion. As a result, the cycle number starts at 0 with the first block of the first version of protocol alpha.
*)cycle_position : int32;The current level of the block relative to the first block of the current cycle.
*)expected_commitment : bool;}type level = tinclude Tezos_protocol_environment_008_PtEdoTez.Compare.S with type t := levelval encoding : level Tezos_protocol_environment_008_PtEdoTez.Data_encoding.tval pp :
Tezos_protocol_environment_008_PtEdoTez.Format.formatter ->
level ->
unitval pp_full :
Tezos_protocol_environment_008_PtEdoTez.Format.formatter ->
level ->
unitval root_level : Raw_level_repr.t -> levelval level_from_raw :
first_level:Raw_level_repr.t ->
blocks_per_cycle:int32 ->
blocks_per_commitment:int32 ->
Raw_level_repr.t ->
leveltype compat_t = {level : Raw_level_repr.t;level_position : int32;cycle : Cycle_repr.t;cycle_position : int32;voting_period : int32;voting_period_position : int32;expected_commitment : bool;}Compatibility module with Level_repr.t from protocol 007. In this version, the voting_period and voting_period_position fields are deprecated and replaced by a new RPC endpoint at Voting_services.voting_period
val compat_encoding :
compat_t Tezos_protocol_environment_008_PtEdoTez.Data_encoding.t