package tezos-protocol-014-PtKathma
type ordered_slots = private Alpha_context.Slot.t list
val endorsing_rights :
Alpha_context.context ->
Alpha_context.Level.t ->
(Alpha_context.context
* ordered_slots
Tezos_protocol_environment_014_PtKathma.Signature.Public_key_hash.Map.t)
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Tezos_protocol_environment_014_PtKathma.Lwt.t
For a given level computes who has the right to include an endorsement in the next block.
val endorsing_rights_by_first_slot :
Alpha_context.context ->
Alpha_context.Level.t ->
(Alpha_context.context
* (Alpha_context.public_key * Alpha_context.public_key_hash * int)
Alpha_context.Slot.Map.t)
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Tezos_protocol_environment_014_PtKathma.Lwt.t
Computes endorsing rights for a given level.
val bonus_baking_reward :
Alpha_context.context ->
endorsing_power:int ->
Alpha_context.Tez.t
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Computes the bonus baking reward depending on the endorsing power.
val baking_rights :
Alpha_context.context ->
Alpha_context.Level.t ->
Alpha_context.public_key Misc.lazy_list
baking_rights ctxt level
is the lazy list of contract's public key hashes that are allowed to propose for level
at each round.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>