package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Alpha_context/Sc_rollup/Game/index.html
Module Sc_rollup.Game
Source
Source
type game_state =
| Dissecting of {
dissection : dissection_chunk list;
default_number_of_sections : int;
}
| Final_move of {
agreed_start_chunk : dissection_chunk;
refuted_stop_chunk : dissection_chunk;
}
Source
type t = {
turn : player;
inbox_snapshot : Inbox.history_proof;
dal_snapshot : Dal.Slots_history.t;
start_level : Raw_level.t;
inbox_level : Raw_level.t;
game_state : game_state;
}
Source
val pp_dissection :
Tezos_protocol_environment_alpha.Format.formatter ->
dissection_chunk list ->
unit
Source
type refutation =
| Start of {
player_commitment_hash : Commitment.Hash.t;
opponent_commitment_hash : Commitment.Hash.t;
}
| Move of {
}
Source
val initial :
Inbox.history_proof ->
Dal.Slots_history.t ->
start_level:Raw_level.t ->
parent_commitment:Commitment.t ->
defender_commitment:Commitment.t ->
refuter:Staker.t ->
defender:Staker.t ->
default_number_of_sections:int ->
t
Source
val play :
Kind.t ->
Dal.parameters ->
dal_attestation_lag:int ->
stakers:Index.t ->
Metadata.t ->
t ->
step:step ->
choice:Tick.t ->
(game_result, t) Tezos_protocol_environment_alpha.Either.t
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Source
type Tezos_protocol_environment_alpha.Error_monad.error +=
| Dissection_choice_not_found of Tick.t
| Proof_unexpected_section_size of Tezos_protocol_environment_alpha.Z.t
| Proof_start_state_hash_mismatch of {
start_state_hash : State_hash.t option;
start_proof : State_hash.t;
}
| Proof_stop_state_hash_failed_to_refute of {
stop_state_hash : State_hash.t option;
stop_proof : State_hash.t option;
}
| Proof_stop_state_hash_failed_to_validate of {
stop_state_hash : State_hash.t option;
stop_proof : State_hash.t option;
}
| Dissecting_during_final_move
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>