package tezos-protocol-008-PtEdoTez
type Tezos_protocol_environment_008_PtEdoTez.Error_monad.error +=
| Unknown of {
oldest : Cycle_repr.t;
cycle : Cycle_repr.t;
latest : Cycle_repr.t;
}
val init :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_008_PtEdoTez.Error_monad.tzresult
Tezos_protocol_environment_008_PtEdoTez.Lwt.t
Generates the first preserved_cycles+2
seeds for which there are no nonces.
val cycle_end :
Raw_context.t ->
Cycle_repr.t ->
(Raw_context.t * Nonce_storage.unrevealed list)
Tezos_protocol_environment_008_PtEdoTez.Error_monad.tzresult
Tezos_protocol_environment_008_PtEdoTez.Lwt.t
If it is the end of the cycle, computes and stores the seed of cycle at distance preserved_cycle+2
in the future using the seed of the previous cycle and the revelations of the current one.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>