package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.