package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Round_repr/Durations/index.html
Module Round_repr.Durations
Source
round_durations
represents the duration of rounds in seconds
Creation functions
Source
val create :
first_round_duration:Period_repr.t ->
delay_increment_per_round:Period_repr.t ->
t Tezos_protocol_environment_alpha.Error_monad.tzresult
create ~first_round_duration ~delay_increment_per_round
creates a valid duration value
Source
val create_opt :
first_round_duration:Period_repr.t ->
delay_increment_per_round:Period_repr.t ->
t option
create_opt ~first_round_duration ~delay_increment_per_round
returns a valid duration value Some d
when create ~first_round_duration ~delay_increment_per_round
does not fail. It returns None
otherwise.
Warning May trigger an exception when the expected invariant does not hold.
Accessors
round_duration round_durations ~round
returns the duration of round ~round
. This duration follows the arithmetic progression
duration(round_n) = first_round_duration
+ round_n * delay_increment_per_round
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page