package tezos-protocol-002-PsYLVpVv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : protocol_data;
}
and protocol_data = {
  1. contents : contents;
  2. signature : Tezos_crypto.Signature.t;
}
and contents = {
  1. priority : int;
  2. seed_nonce_hash : Nonce_hash.t option;
  3. proof_of_work_nonce : Tezos_protocol_environment_structs.V0.M.MBytes.t;
}
type block_header = t
val raw : block_header -> raw
val raw_encoding : raw Data_encoding.t
val contents_encoding : contents Data_encoding.t
val protocol_data_encoding : protocol_data Data_encoding.t
val shell_header_encoding : shell_header Data_encoding.t
val max_header_length : int

The maximum size of block headers in bytes

val hash_raw : raw -> Tezos_crypto.Block_hash.t
OCaml

Innovation. Community. Security.