package tezos-base

  1. Overview
  2. Docs
Tezos: meta-package and pervasive type definitions for Tezos

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-v12.3.tar.bz2
sha256=296bb5674bc6050afe6330326fbdd0dfc2255d414bfd6b79cc7666ac6b39316d
sha512=c061cd300a9410300851158d77bf8e56ca3c568b0b1161b38305e5b2efdcd9c746d391f832fdb2826f9a1d6babce10a9b764a4b04f5df42699f7314b9863123a

doc/tezos-base/Tezos_base/Operation/index.html

Module Tezos_base.OperationSource

Sourcetype shell_header = {
  1. branch : Tezos_crypto.Block_hash.t;
}
Sourceval equal_shell_header : shell_header -> shell_header -> bool
Sourceval shell_header_encoding : shell_header Data_encoding.t
Sourcetype t = {
  1. shell : shell_header;
  2. proto : Bytes.t;
}
include S.HASHABLE with type t := t and type hash := Tezos_crypto.Operation_hash.t
include S.T with type t := t
include Tezos_stdlib.Compare.S with type t := t
Sourceval (=) : t -> t -> bool

x = y iff compare x y = 0

Sourceval (<>) : t -> t -> bool

x <> y iff compare x y <> 0

Sourceval (<) : t -> t -> bool

x < y iff compare x y < 0

Sourceval (<=) : t -> t -> bool

x <= y iff compare x y <= 0

Sourceval (>=) : t -> t -> bool

x >= y iff compare x y >= 0

Sourceval (>) : t -> t -> bool

x > y iff compare x y > 0

Sourceval compare : t -> t -> int

compare an alias for the functor parameter's compare function

Sourceval equal : t -> t -> bool

equal x y iff compare x y = 0

Sourceval max : t -> t -> t

max x y is x if x >= y otherwise it is y

Sourceval min : t -> t -> t

min x y is x if x <= y otherwise it is y

Sourceval pp : Format.formatter -> t -> unit
Sourceval encoding : t Data_encoding.t
Sourceval to_bytes : t -> Bytes.t
Sourceval of_bytes : Bytes.t -> t option
Sourceval of_bytes_exn : Bytes.t -> t
Sourceval bounded_encoding : ?max_size:int -> unit -> t Data_encoding.t
Sourceval bounded_list_encoding : ?max_length:int -> ?max_size:int -> ?max_operation_size:int -> ?max_pass:int -> unit -> (Tezos_crypto.Operation_list_list_hash.path * t list) Data_encoding.t
Sourceval bounded_hash_list_encoding : ?max_length:int -> ?max_pass:int -> unit -> (Tezos_crypto.Operation_list_list_hash.path * Tezos_crypto.Operation_hash.t list) Data_encoding.t
OCaml

Innovation. Community. Security.