package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/tezos_raw_protocol_alpha/Tezos_raw_protocol_alpha/Storage/index.html

Module Tezos_raw_protocol_alpha.StorageSource

Tezos Protocol Implementation - Typed storage

This module hides the hierarchical (key x value) database under pre-allocated typed accessors for all persistent entities of the tezos context.

This interface enforces no invariant on the contents of the database. Its goal is to centralize all accessors in order to have a complete view over the database contents and avoid key collisions.

Sourcemodule type Simple_single_data_storage = sig ... end
Sourcetype missed_attestations_info = {
  1. remaining_slots : int;
  2. missed_levels : int;
}
Sourcemodule Slashed_deposits_history : sig ... end
Sourcemodule Unstake_request : sig ... end
Sourcemodule Contract : sig ... end

Storage from this submodule must only be accessed through the module `Contract`.

Sourcemodule Big_map : sig ... end
Sourcemodule Sapling : sig ... end

Set of all active consensus keys in cycle `current + preserved_cycles + 1`

The pending consensus key of a delegate at the given cycle

Sourcetype slashed_level = {
  1. for_double_attesting : bool;
  2. for_double_baking : bool;
}
Sourceval default_slashed_level : slashed_level

slashed_level with all fields being false.

Sourcemodule Stake : sig ... end

State of the sampler used to select delegates. Managed synchronously with Stake.Selected_distribution_for_cycle.

Compounding reward bonus for Adaptive Issuance

Multiplicative coefficient for rewards under Adaptive Issuance (Includes the bonus)

Votes

Sourcemodule Vote : sig ... end
Sourcemodule type FOR_CYCLE = sig ... end

Seed

Sourcemodule Seed : sig ... end

Storage from this submodule must only be accessed through the module `Seed`.

Commitments

Sourcemodule Ramp_up : sig ... end

Ramp up rewards

Sourcemodule Pending_migration : sig ... end
Sourcemodule Liquidity_baking : sig ... end
Sourcemodule Adaptive_issuance : sig ... end
Sourcemodule Global_constants : sig ... end

A map of Script_repr.expr values, indexed by their hash (Script_expr_hash.t). Values from this map can be incorporated by any contract via the primitive Michelson_v1_primitives.H_constant.

Sourcemodule Ticket_balance : sig ... end

This module exposes a balance table for tracking ticket ownership. The table is a mapping from keys to values where the keys consist of a hashed representation of:

Tenderbake

Sourcemodule Tenderbake : sig ... end
Sourcemodule Sc_rollup : sig ... end
Sourcemodule Dal : sig ... end
Sourcemodule Zk_rollup : sig ... end
Sourcemodule Legacy : sig ... end
OCaml

Innovation. Community. Security.