package tezos-protocol-alpha

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Bounded_history_repr/index.html

Module Tezos_raw_protocol_alpha.Bounded_history_reprSource

A bounded cache associating values to keys.

This data structure is basically a bounded association table that stores (a finite number of) given (key, value), with the following properties:

  • The insertion ordering is remembered / important. When the structure is full, older entries are removed to insert new ones;
  • Stored keys are unique in the data-structure.
Sourcemodule type NAME = sig ... end
Sourcemodule type KEY = sig ... end

The required interface for keys stored in the table.

Sourcemodule type VALUE = sig ... end

The required interface for values stored in the table.

Sourcemodule type S = sig ... end

The exported interface of the data structure.

Sourcemodule Make (Name : NAME) (Key : KEY) (Value : VALUE) : S with type key = Key.t and type value = Value.t
OCaml

Innovation. Community. Security.