package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type contents = {
  1. priority : int;
  2. seed_nonce_hash : Nonce_hash.t option;
  3. proof_of_work_nonce : bytes;
  4. liquidity_baking_escape_vote : bool;
}
type protocol_data = {
  1. contents : contents;
  2. signature : Tezos_crypto.Signature.t;
}
type t = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : protocol_data;
}
type block_header = t
val raw : block_header -> raw
val hash_raw : raw -> Tezos_crypto.Block_hash.t
val raw_encoding : raw Data_encoding.t
val contents_encoding : contents Data_encoding.t
val unsigned_encoding : (shell_header * 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

OCaml

Innovation. Community. Security.