package tezos-protocol-008-PtEdo2Zk
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-008-PtEdo2Zk.raw/Tezos_raw_protocol_008_PtEdo2Zk/Level_repr/index.html
Module Tezos_raw_protocol_008_PtEdo2Zk.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_PtEdo2Zk.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)"
>