package octez-protocol-018-Proxford-libs

  1. Overview
  2. Docs
Octez protocol 018-Proxford libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-protocol-018-Proxford-libs.baking/Tezos_baking_018_Proxford/Baking_actions/index.html

Module Tezos_baking_018_Proxford.Baking_actionsSource

Sourcetype block_kind =
  1. | Fresh of Operation_pool.pool
  2. | Reproposal of {
    1. consensus_operations : Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation list;
    2. payload_hash : Tezos_protocol_018_Proxford.Protocol.Block_payload_hash.t;
    3. payload_round : Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t;
    4. payload : Operation_pool.payload;
    }
Sourcetype block_to_bake = {
  1. predecessor : Baking_state.block_info;
  2. round : Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t;
  3. delegate : Baking_state.consensus_key_and_delegate;
  4. kind : block_kind;
  5. force_apply : bool;
    (*

    if true, while baking the block, try and apply the block and its operations instead of only validating them. this can be permanently set using the --force-apply flag (see force_apply_switch_arg in baking_commands.ml).

    *)
}
Sourcetype action =
  1. | Do_nothing
  2. | Inject_block of {
    1. block_to_bake : block_to_bake;
    2. updated_state : Baking_state.state;
    }
  3. | Inject_preattestations of {
    1. preattestations : (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list;
    }
  4. | Inject_attestations of {
    1. attestations : (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list;
    }
  5. | Update_to_level of level_update
  6. | Synchronize_round of round_update
  7. | Watch_proposal
Sourceand level_update = {
  1. new_level_proposal : Baking_state.proposal;
  2. compute_new_state : current_round: Tezos_protocol_018_Proxford.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 generate_seed_nonce_hash : Baking_configuration.nonce_config -> Baking_state.consensus_key -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.Level.t -> (Tezos_protocol_018_Proxford.Protocol.Nonce_hash.t * Tezos_protocol_018_Proxford.Protocol.Alpha_context.Nonce.t) option Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval inject_preattestations : Baking_state.state -> preattestations: (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval sign_attestations : Baking_state.state -> (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list -> (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation * int32 * Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t) list Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval inject_attestations : Baking_state.state -> attestations: (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval sign_dal_attestations : Baking_state.state -> (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.Dal.Attestation.operation) list -> (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation * Tezos_protocol_018_Proxford.Protocol.Alpha_context.Dal.Attestation.t) list Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval get_dal_attestations : Baking_state.state -> level:Int32.t -> (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.Dal.Attestation.operation) list Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval prepare_waiting_for_quorum : Baking_state.state -> int * (slot:Tezos_protocol_018_Proxford.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 pp_action : Format.formatter -> t -> unit
Sourceval compute_round : Baking_state.proposal -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.round_durations -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t Tezos_base.TzPervasives.tzresult
OCaml

Innovation. Community. Security.