package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V1/Make/Block_header/index.html

Module Make.Block_headerSource

Sourcetype shell_header = Tezos_base.TzPervasives.Block_header.shell_header = {
  1. level : Int32.t;
    (*

    The number of preceding block in this chain, i.e. the genesis has level 0.

    *)
  2. proto_level : int;
    (*

    The number of preceding protocol change in the chain (modulo 256), i.e. the genesis has proto_level 0.

    *)
  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;
}
Sourceval shell_header_encoding : shell_header Data_encoding.t
Sourcetype t = Tezos_base.TzPervasives.Block_header.t = {
  1. shell : shell_header;
  2. protocol_data : bytes;
}
include S.HASHABLE with type t := t and type hash := Block_hash.t
include S.T with type t := t
include Compare.S with type t := t
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
Sourceval pp : Format.formatter -> t -> unit
Sourceval encoding : t Data_encoding.t
Sourceval to_bytes : t -> bytes
Sourceval of_bytes : bytes -> t option
Sourceval hash : t -> Block_hash.t
Sourceval hash_raw : bytes -> Block_hash.t
OCaml

Innovation. Community. Security.