package tezos-protocol-016-PtMumbai
This module provides types and functions to manipulate nonces.
A nonce is a byte sequence of fixed length, which is supposed to be random and used only once, provided by a block producer and used to generate a random seed (see Seed_repr
).
type t = Seed_repr.nonce
type nonce = t
val encoding : nonce Tezos_protocol_environment_016_PtMumbai.Data_encoding.t
type unrevealed = Storage.Seed.unrevealed_nonce = {
nonce_hash : Nonce_hash.t;
delegate : Tezos_protocol_environment_016_PtMumbai.Signature.Public_key_hash.t;
}
val check_unrevealed :
Raw_context.t ->
Level_repr.t ->
nonce ->
unit Tezos_protocol_environment_016_PtMumbai.Error_monad.tzresult
Tezos_protocol_environment_016_PtMumbai.Lwt.t
Checks that a nonce revelation operation can be safely applied.
val of_bytes :
bytes ->
nonce Tezos_protocol_environment_016_PtMumbai.Error_monad.tzresult
val hash : nonce -> Nonce_hash.t
val check_hash : nonce -> Nonce_hash.t -> bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>