package tezos-baking-010-PtGRANAD

  1. Overview
  2. Docs
val empty_proof_of_work_nonce : Stdlib.Bytes.t

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

mine cctxt 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.