package tezos-protocol-014-PtKathma

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-protocol-014-PtKathma.raw/Tezos_raw_protocol_014_PtKathma/Dal_slot_repr/Index/index.html

Module Dal_slot_repr.IndexSource

An `Index.t` is a possible value for a slot index. We assume this value to be a positive 8-bit integer. Note that this is a hard constraint, which is independent of protocol constants. If a choice is ever made to increase the size of available slots in the protocol, we also need to change this module to accommodate for higher values.

Sourcetype t
Sourceval zero : t
Sourceval max_value : t
Sourceval of_int : int -> t option

of_int n constructs a`Slot_index.t` May fail with:

  • Dal_invalid_slot_header n if n is either negative or greater than max_slot_value.
Sourceval to_int : t -> int
Sourceval compare : t -> t -> int
OCaml

Innovation. Community. Security.