package octez-protocol-019-PtParisB-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val is_in_nonce_revelation_stage : nonce_revelation_threshold:int32 -> level:Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Level.t -> bool

is_in_nonce_revelation_stage ~nonce_revelation_threshold ~level checks whether level is part of the nonce revelation stage of its cycle, which is defined as the first nonce_revelation_threshold blocks of every cycle. It is used to avoid calling the Seed_computation RPC on blocks which are part of the nonce revelation stage.

OCaml

Innovation. Community. Security.