package tezos-protocol-016-PtMumbai

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

Counters are used as anti-replay protection mechanism in manager operations: each manager account stores a counter and each manager operation declares a value for the counter. When a manager operation is applied, the value of the counter of its manager is checked and incremented.

include Tezos_protocol_environment_016_PtMumbai.Compare.S
type 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 init : t

Initial value for a counter (zero).

val succ : t -> t

Successor of a counter.

Pretty-printer for counters.

Encoding for a counter to be used in Storage.

Encoding for a counter to be used in Operation_repr.

Encoding for a counter to be used in RPCs.

Encoding for a counter to be used in errors.

module Internal_for_injection : sig ... end

To be used in client injection only.

module Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.