package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/octez-libs.base/Tezos_base/Operation/index.html

Module Tezos_base.OperationSource

Sourcetype shell_header = {
  1. branch : Tezos_crypto.Hashed.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.Hashed.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.Hashed.Operation_list_list_hash.path * t list) Data_encoding.t
Sourceval bounded_hash_list_encoding : ?max_length:int -> ?max_pass:int -> unit -> (Tezos_crypto.Hashed.Operation_list_list_hash.path * Tezos_crypto.Hashed.Operation_hash.t list) Data_encoding.t
OCaml

Innovation. Community. Security.