Mavkit_smart_rollup_node.Refutation_coordinator
Component for managing refutation games. This module is implemented as a single worker in the rollup node, which takes care of processing new L1 heads, and coordinating the refutation game players. (See Refutation_player
).
val init : Node_context.rw -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
Initiatilize the refuation coordinator, if the rollup node mode supports it.
val start_in_mode : Configuration.mode -> bool
Whether the refutation coordinator is run in the given mode.
val process : Layer1.head -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
process head
processes a new l1 head. This means that the coordinator will: