package tezos-baking-013-PtJakart

  1. Overview
  2. Docs
val empty_proof_of_work_nonce : 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.