package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type nonce = t
val encoding : nonce Data_encoding.t
type unrevealed = {
  1. nonce_hash : Nonce_hash.t;
  2. delegate : public_key_hash;
}
val record_hash : context -> unrevealed -> (context, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val reveal : context -> Level.t -> nonce -> (context, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
type status =
  1. | Unrevealed of unrevealed
  2. | Revealed of nonce
val get : context -> Level.t -> (status, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val of_bytes : bytes -> (nonce, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result
val hash : nonce -> Nonce_hash.t
val check_hash : nonce -> Nonce_hash.t -> bool
OCaml

Innovation. Community. Security.