octez-proto-libs.protocol-environment
Make.Operation
Tezos operations.
tezos_protocol_environment_sigs
tezos_protocol_environment_sigs_internals
tezos_protocol_environment_structs
type shell_header = Tezos_base.TzPervasives.Operation.shell_header = {
branch : Block_hash.t;
The operation is only valid in a branch containing the block branch.
branch
}
val shell_header_encoding : shell_header Data_encoding.t
type t = Tezos_base.TzPervasives.Operation.t = {
shell : shell_header;
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