package tezos-protocol-005-PsBABY5H

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. shell : Tezos_base__TzPervasives.Block_header.shell_header;
  2. protocol_data : protocol_data;
}
and protocol_data = {
  1. contents : contents;
  2. signature : Tezos_base__TzPervasives.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
type raw = Tezos_base__TzPervasives.Block_header.t
type shell_header = Tezos_base__TzPervasives.Block_header.shell_header
val raw : block_header -> raw
val hash : block_header -> Tezos_base__TzPervasives.Block_hash.t
val hash_raw : raw -> Tezos_base__TzPervasives.Block_hash.t
val encoding : block_header Tezos_base__TzPervasives.Data_encoding.t
val raw_encoding : raw Tezos_base__TzPervasives.Data_encoding.t
val contents_encoding : contents Tezos_base__TzPervasives.Data_encoding.t
val unsigned_encoding : (shell_header * contents) Tezos_base__TzPervasives.Data_encoding.t
val protocol_data_encoding : protocol_data Tezos_base__TzPervasives.Data_encoding.t
val shell_header_encoding : shell_header Tezos_base__TzPervasives.Data_encoding.t
val max_header_length : int

The maximum size of block headers in bytes

OCaml

Innovation. Community. Security.