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/V10/Make/Operation/index.html

Module Make.OperationSource

Tezos operations.

Sourcetype shell_header = Tezos_base.TzPervasives.Operation.shell_header = {
  1. branch : Block_hash.t;
    (*

    The operation is only valid in a branch containing the block branch.

    *)
}
Sourceval shell_header_encoding : shell_header Data_encoding.t
Sourcetype t = Tezos_base.TzPervasives.Operation.t = {
  1. shell : shell_header;
  2. proto : bytes;
}
include S.HASHABLE with type t := t and type hash := Operation_hash.t
include S.T with type t := t
include Compare.S with type t := t
val (=) : t -> t -> bool

x = y iff compare x y = 0

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

x <> y iff compare x y <> 0

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

x < y iff compare x y < 0

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

x <= y iff compare x y <= 0

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

x >= y iff compare x y >= 0

val (>) : t -> t -> bool

x > y iff compare x y > 0

val compare : t -> t -> int

compare an alias for the functor parameter's compare function

val equal : t -> t -> bool

equal x y iff compare x y = 0

val max : t -> t -> t

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

val 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
Sourceval of_bytes : bytes -> t option
Sourceval hash_raw : bytes -> Operation_hash.t
OCaml

Innovation. Community. Security.