package tezos-protocol-008-PtEdoTez

  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 : bytes;
}
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 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 : (Tezos_base__TzPervasives.Block_header.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

val hash : block_header -> Tezos_base__TzPervasives.Block_hash.t
val hash_raw : raw -> Tezos_base__TzPervasives.Block_hash.t
OCaml

Innovation. Community. Security.