package tezos-protocol-008-PtEdoTez
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-008-PtEdoTez.raw/Tezos_raw_protocol_008_PtEdoTez/Level_repr/index.html
Module Tezos_raw_protocol_008_PtEdoTez.Level_repr
Source
Source
type 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;
}
include Tezos_protocol_environment_008_PtEdoTez.Compare.S with type t := level
Source
val level_from_raw :
first_level:Raw_level_repr.t ->
blocks_per_cycle:int32 ->
blocks_per_commitment:int32 ->
Raw_level_repr.t ->
level
Source
type 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>