package octez-protocol-019-PtParisB-libs

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

Module Tezos_baking_019_PtParisB.Baking_actionsSource

Sourcetype action =
  1. | Do_nothing
  2. | Prepare_block of {
    1. block_to_bake : Baking_state.block_to_bake;
    }
  3. | Prepare_preattestations of {
    1. preattestations : Baking_state.unsigned_consensus_vote_batch;
    }
  4. | Prepare_attestations of {
    1. attestations : Baking_state.unsigned_consensus_vote_batch;
    }
  5. | Prepare_consensus_votes of {
    1. preattestations : Baking_state.unsigned_consensus_vote_batch;
    2. attestations : Baking_state.unsigned_consensus_vote_batch;
    }
  6. | Inject_block of {
    1. prepared_block : Baking_state.prepared_block;
    2. force_injection : bool;
    3. asynchronous : bool;
    }
  7. | Inject_preattestation of {
    1. signed_preattestation : Baking_state.signed_consensus_vote;
    }
  8. | Inject_attestations of {
    1. signed_attestations : Baking_state.signed_consensus_vote_batch;
    }
  9. | Update_to_level of level_update
  10. | Synchronize_round of round_update
  11. | Watch_prequorum
  12. | Watch_quorum
Sourceand level_update = {
  1. new_level_proposal : Baking_state.proposal;
  2. compute_new_state : current_round: Tezos_protocol_019_PtParisB.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;
}
Sourceand round_update = {
  1. new_round_proposal : Baking_state.proposal;
  2. handle_proposal : Baking_state.state -> (Baking_state.state * action) Lwt.t;
}
Sourcetype t = action
Sourceval pp_action : Format.formatter -> action -> unit
Sourceval generate_seed_nonce_hash : Baking_configuration.nonce_config -> Baking_state.consensus_key -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Level.t -> (Tezos_protocol_019_PtParisB.Protocol.Nonce_hash.t * Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Nonce.t) option Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval inject_block : ?force_injection:bool -> ?asynchronous:bool -> Baking_state.state -> Baking_state.prepared_block -> Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval may_get_dal_content : Baking_state.state -> Baking_state.unsigned_consensus_vote -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.dal_content option Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval 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.t
Sourceval prepare_waiting_for_quorum : Baking_state.state -> int * (slot:Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Slot.t -> int option) * Operation_worker.candidate
Sourceval start_waiting_for_preattestation_quorum : Baking_state.state -> unit Lwt.t
Sourceval start_waiting_for_attestation_quorum : Baking_state.state -> unit Lwt.t
Sourceval compute_round : Baking_state.proposal -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.round_durations -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t Tezos_base.TzPervasives.tzresult
OCaml

Innovation. Community. Security.