package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

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.