package tezos-protocol-environment

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Tezos operations.

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

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

    *)
}
val shell_header_encoding : shell_header Data_encoding.t
type t = Tezos_base.Operation.t = {
  1. shell : shell_header;
  2. proto : MBytes.t;
}
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
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
val pp : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> MBytes.t
val of_bytes : MBytes.t -> t option
val hash : t -> Operation_hash.t
val hash_raw : MBytes.t -> Operation_hash.t
OCaml

Innovation. Community. Security.