package octez-protocol-018-Proxford-libs
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_actions
Source
Source
type block_kind =
| Fresh of Operation_pool.pool
| Reproposal of {
consensus_operations : Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation list;
payload_hash : Tezos_protocol_018_Proxford.Protocol.Block_payload_hash.t;
payload_round : Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t;
payload : Operation_pool.payload;
}
Source
type block_to_bake = {
predecessor : Baking_state.block_info;
round : Tezos_protocol_018_Proxford.Protocol.Alpha_context.Round.t;
delegate : Baking_state.consensus_key_and_delegate;
kind : block_kind;
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 (seeforce_apply_switch_arg
inbaking_commands.ml
).
}
Source
type action =
| Do_nothing
| Inject_block of {
block_to_bake : block_to_bake;
updated_state : Baking_state.state;
}
| Inject_preattestations of {
preattestations : (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list;
}
| Inject_attestations of {
attestations : (Baking_state.consensus_key_and_delegate * Tezos_protocol_018_Proxford.Protocol.Alpha_context.consensus_content) list;
}
| Update_to_level of level_update
| Synchronize_round of round_update
| Watch_proposal
Source
and level_update = {
new_level_proposal : Baking_state.proposal;
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;
}
Source
and round_update = {
new_round_proposal : Baking_state.proposal;
handle_proposal : Baking_state.state -> (Baking_state.state * action) Lwt.t;
}
Source
val 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
Source
val inject_block :
state_recorder:
(new_state:Baking_state.state ->
unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
Baking_state.state ->
block_to_bake ->
updated_state:Baking_state.state ->
Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.t
Source
val 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
Source
val 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
Source
val 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
Source
val 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
Source
val 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
Source
val prepare_waiting_for_quorum :
Baking_state.state ->
int
* (slot:Tezos_protocol_018_Proxford.Protocol.Alpha_context.Slot.t ->
int option)
* Operation_worker.candidate
Source
val update_to_level :
Baking_state.state ->
level_update ->
(Baking_state.state * t) Tezos_base.TzPervasives.tzresult Lwt.t
Source
val 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
Source
val perform_action :
state_recorder:
(new_state:Baking_state.state ->
unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
Baking_state.state ->
t ->
Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>