package tezos-protocol-005-PsBabyM1

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-protocol-005-PsBabyM1.raw/Tezos_raw_protocol_005_PsBabyM1/Delegate_services/Baking_rights/index.html

Module Delegate_services.Baking_rightsSource

Retrieves the list of delegates allowed to bake a block.

By default, it gives the best baking priorities for bakers that have at least one opportunity below the 64th priority for the next block.

Parameters levels and cycles can be used to specify the (valid) level(s) in the past or future at which the baking rights have to be returned. Parameter delegates can be used to restrict the results to the given delegates. If parameter all is true, all the baking opportunities for each baker at each level are returned, instead of just the first one.

Returns the list of baking slots. Also returns the minimal timestamps that correspond to these slots. The timestamps are omitted for levels in the past, and are only estimates for levels later that the next block, based on the hypothesis that all predecessor blocks were baked at the first priority.

OCaml

Innovation. Community. Security.