package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/tezos_protocol_environment_alpha/Tezos_protocol_environment_alpha/Block_header/index.html

Module Tezos_protocol_environment_alpha.Block_header

type shell_header = Tezos_base.TzPervasives.Block_header.shell_header = {
  1. level : Int32.t;
  2. proto_level : int;
  3. predecessor : Block_hash.t;
  4. timestamp : Time.t;
  5. validation_passes : int;
  6. operations_hash : Operation_list_list_hash.t;
  7. fitness : Bytes.t list;
  8. context : Context_hash.t;
}
val shell_header_encoding : shell_header Data_encoding.t
type t = Tezos_base.TzPervasives.Block_header.t = {
  1. shell : shell_header;
  2. protocol_data : bytes;
}
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val pp : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> bytes
val of_bytes : bytes -> t option
val hash : t -> Block_hash.t
val hash_raw : bytes -> Block_hash.t
OCaml

Innovation. Community. Security.