package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V0/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 : MBytes.t list;
  8. context : Context_hash.t;
}
Sourceval shell_header_encoding : shell_header Data_encoding.t
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 -> MBytes.t
Sourceval of_bytes : MBytes.t -> t option
Sourceval hash : t -> Block_hash.t
Sourceval hash_raw : MBytes.t -> Block_hash.t
OCaml

Innovation. Community. Security.