package octez-protocol-019-PtParisB-libs
Octez protocol 019-PtParisB libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-protocol-019-PtParisB-libs.baking/Tezos_baking_019_PtParisB/State_transitions/index.html
Module Tezos_baking_019_PtParisB.State_transitions
Source
This module, and in particular the step
function, modifies the automaton state, while Baking_actions
performs potentially failing side-effects.
Source
val is_acceptable_proposal_for_current_level :
Baking_state.state ->
Baking_state.proposal ->
proposal_acceptance Lwt.t
Source
val make_consensus_vote_batch :
Baking_state.state ->
Baking_state.proposal ->
Baking_state.consensus_vote_kind ->
Baking_state.unsigned_consensus_vote_batch
Source
val may_update_proposal :
is_proposal_applied:bool ->
Baking_state.state ->
Baking_state.proposal ->
Baking_state.state Lwt.t
Source
val preattest :
Baking_state.state ->
Baking_state.proposal ->
(Baking_state.state * Baking_actions.action) Lwt.t
Source
val extract_pqc :
Baking_state.state ->
Baking_state.proposal ->
(Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Kind.preattestation
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.operation
list
* Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t)
option
Source
val handle_proposal :
is_proposal_applied:bool ->
Baking_state.state ->
Baking_state.proposal ->
(Baking_state.state * Baking_actions.action) Lwt.t
Source
val propose_block_action :
Baking_state.state ->
Baking_state.consensus_key_and_delegate ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t ->
last_proposal:Baking_state.proposal ->
Baking_actions.action Lwt.t
Propose a block at the start of the given round for the given delegate, given that there was already a proposal at the current level, the last one being last_proposal
.
Source
val end_of_round :
Baking_state.state ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t ->
(Baking_state.state * Baking_actions.action) Lwt.t
Increase the current round and propose at the new round (same level), if the baker has a proposer slot.
Source
val time_to_prepare_next_level_block :
Baking_state.state ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t ->
(Baking_state.state * Baking_actions.action) Lwt.t
Propose for the first time at a level at the given round. There was no previous proposal at the current level.
Source
val update_locked_round :
Baking_state.state ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t ->
Tezos_protocol_019_PtParisB.Protocol.Block_payload_hash.t ->
Baking_state.state
Source
val prepare_attest_action :
Baking_state.state ->
Baking_state.proposal ->
Baking_actions.action
Source
val prequorum_reached_when_awaiting_preattestations :
Baking_state.state ->
Operation_worker.candidate ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Kind.preattestation
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.operation
list ->
(Baking_state.state * Baking_actions.action) Lwt.t
Source
val quorum_reached_when_waiting_attestations :
Baking_state.state ->
Operation_worker.candidate ->
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Kind.attestation
Tezos_protocol_019_PtParisB.Protocol.Alpha_context.operation
list ->
(Baking_state.state * Baking_actions.action) Lwt.t
Source
val step :
Baking_state.state ->
Baking_state.event ->
(Baking_state.state * Baking_actions.action) Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>