Tezos_raw_protocol_alpha.Nonce_storageSourceThis 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 unrevealed = Storage.Seed.unrevealed_nonce = {nonce_hash : Nonce_hash.t;delegate : Tezos_protocol_environment_alpha.Signature.Public_key_hash.t;}val check_unrevealed :
Raw_context.t ->
Level_repr.t ->
nonce ->
unit Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.tChecks that a nonce revelation operation can be safely applied.