package tezos-protocol-007-PsDELPH1

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Retrieves the delegates allowed to endorse a block.

By default, it gives the endorsement slots for bakers that have at least one in the next block.

Parameters levels and cycles can be used to specify the (valid) level(s) in the past or future at which the endorsement rights have to be returned. Parameter delegates can be used to restrict the results to the given delegates. Returns the list of endorsement slots. Also returns the minimal timestamps that correspond to these slots.

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.