package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val empty_proof_of_work_nonce : Tezos_base.TzPervasives.Bytes.t

A null proof-of-work nonce. This should only be used to nonsensical blocks of the correct size and shape.

mine ~proof_of_work_threshold chain block header builder returns a block with a valid proof-of-work nonce. The function builder, provided by the caller, is used to make the block. All the internal logic of generating nonces and checking for the proof-of-work threshold is handled by mine.

OCaml

Innovation. Community. Security.