package tezos-protocol-016-PtMumbai

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-protocol-016-PtMumbai.raw/Tezos_raw_protocol_016_PtMumbai/Manager_counter_repr/index.html

Module Tezos_raw_protocol_016_PtMumbai.Manager_counter_reprSource

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
Sourceval init : t

Initial value for a counter (zero).

Sourceval 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.

Sourcemodule Internal_for_injection : sig ... end

To be used in client injection only.

Sourcemodule Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.