package octez-smart-rollup-node-lib

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

This module implements the refutation game logic of the rollup node.

val play_opening_move : [< `Read | `Write Read ] Node_context.t -> Octez_smart_rollup.Game.conflict -> (unit, Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t

play_opening_move node_ctxt conflict injects the opening refutation game move for conflict.

play head_block plugin node_ctxt ~self game opponent injects the next move in the refutation game played by self and opponent.

OCaml

Innovation. Community. Security.