Tezos_baking_020_PsParisC.Baking_actionsSourcetype action = | Do_nothing| Prepare_block of {block_to_bake : Baking_state.block_to_bake;}| Prepare_preattestations of {preattestations : Baking_state.unsigned_consensus_vote_batch;}| Prepare_attestations of {attestations : Baking_state.unsigned_consensus_vote_batch;}| Prepare_consensus_votes of {preattestations : Baking_state.unsigned_consensus_vote_batch;attestations : Baking_state.unsigned_consensus_vote_batch;}| Inject_block of {prepared_block : Baking_state.prepared_block;force_injection : bool;asynchronous : bool;}| Inject_preattestation of {signed_preattestation : Baking_state.signed_consensus_vote;}| Inject_attestations of {signed_attestations : Baking_state.signed_consensus_vote_batch;}| Update_to_level of level_update| Synchronize_round of round_update| Watch_prequorum| Watch_quorumand level_update = {new_level_proposal : Baking_state.proposal;compute_new_state : current_round:
Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Round.t ->
delegate_slots:Baking_state.delegate_slots ->
next_level_delegate_slots:Baking_state.delegate_slots ->
(Baking_state.state * action) Lwt.t;}and round_update = {new_round_proposal : Baking_state.proposal;handle_proposal : Baking_state.state -> (Baking_state.state * action) Lwt.t;}val generate_seed_nonce_hash :
Baking_configuration.nonce_config ->
Baking_state.consensus_key ->
Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Level.t ->
(Tezos_protocol_020_PsParisC.Protocol.Nonce_hash.t
* Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Nonce.t)
option
Tezos_base.TzPervasives.tzresult
Lwt.tval prepare_block :
Baking_state.global_state ->
Baking_state.block_to_bake ->
Baking_state.prepared_block Tezos_base.TzPervasives.tzresult Lwt.tval inject_block :
?force_injection:bool ->
?asynchronous:bool ->
Baking_state.state ->
Baking_state.prepared_block ->
Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.tval may_get_dal_content :
Baking_state.state ->
Baking_state.unsigned_consensus_vote ->
Tezos_protocol_020_PsParisC.Protocol.Alpha_context.dal_content option
Tezos_base.TzPervasives.tzresult
Lwt.tval authorized_consensus_votes :
Baking_state.global_state ->
Baking_state.unsigned_consensus_vote_batch ->
Baking_state.unsigned_consensus_vote list Tezos_base.TzPervasives.tzresult
Lwt.tval forge_and_sign_consensus_vote :
Baking_state.global_state ->
branch:Tezos_base.TzPervasives.Block_hash.t ->
Baking_state.unsigned_consensus_vote ->
Baking_state.signed_consensus_vote Tezos_base.TzPervasives.tzresult Lwt.tval sign_consensus_votes :
Baking_state.global_state ->
Baking_state.unsigned_consensus_vote_batch ->
Baking_state.signed_consensus_vote_batch Tezos_base.TzPervasives.tzresult
Lwt.tval inject_consensus_votes :
Baking_state.state ->
Baking_state.signed_consensus_vote_batch ->
unit Tezos_base.TzPervasives.tzresult Lwt.tval prepare_waiting_for_quorum :
Baking_state.state ->
int
* (slot:Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Slot.t ->
int option)
* Operation_worker.candidateval update_to_level :
Baking_state.state ->
level_update ->
(Baking_state.state * t) Tezos_base.TzPervasives.tzresult Lwt.tval compute_round :
Baking_state.proposal ->
Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Round.round_durations ->
Tezos_protocol_020_PsParisC.Protocol.Alpha_context.Round.t
Tezos_base.TzPervasives.tzresultval perform_action :
Baking_state.state ->
t ->
Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.t