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/Stake_context/index.html

Module Tezos_raw_protocol_alpha.Stake_contextSource

Functions on stake and depending on the context.

Apply the delegation_over_baking and staking_over_baking limits of a delegate. Overstaked tez count as delegated, overdelegated tez do not count at all.

Sourceval staking_weight : Raw_context.t -> Stake_repr.t -> int64

The weight of a staker or a set of stakers. When adaptive issuance is active, the delegated tez weight edge_of_staking_over_delegation less than frozen ones. Since this function is applied on a Stake_repr.t, the limits should already have been applied using apply_limits if necessary.

The weight of a delegate used for voting rights.

The weight of a baker used for baking and attesting rights.

Sourceval compare : Raw_context.t -> Stake_repr.t -> Stake_repr.t -> int
OCaml

Innovation. Community. Security.