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