package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

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 + consensus_rights_delay + 1`

The pending consensus key of a delegate at the given cycle

All denunciations of the current and previous cycles that will have an effect (slashing, reward), i.e. all below 100%, deferred to the end of their slashing period.

History of slashed deposits: an associative list of cycles to slashed percentages.

Sourcetype denounced = {
  1. for_double_preattesting : bool;
  2. for_double_attesting : bool;
  3. for_double_baking : bool;
}

This type is used to track which denunciations have already been recorded, to avoid slashing multiple times the same event.

Sourceval default_denounced : denounced

denounced with all fields set to 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.