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/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.