Octez_smart_rollup_node.Daemon_eventSourceThis module defines functions that emit the events used by the smart rollup node daemon (see Daemon).
head_processing hash level emits the event that the block of the given hash and at the given level is being processed.
val new_head_processed :
Tezos_base.TzPervasives.Block_hash.t ->
int32 ->
Ptime.Span.t ->
unit Lwt.tnew_head_processed hash level process_time emits the event that the daemon has finished processing the head of the given hash and at the given level in process_time seconds.
processing_heads_iteration heads emits the event that the heads are going to be processed.
new_heads_processed heads emits the event that the heads were processed.
val included_operation :
?errors:Tezos_base.TzPervasives.tztrace ->
[ `Applied | `Backtracked | `Failed | `Skipped ] ->
Octez_smart_rollup.L1_operation.t ->
unit Lwt.tincluded_operation op result emits an event that an operation for the rollup was included in a block.
val migration :
catching_up:bool ->
(Tezos_base.TzPervasives.Protocol_hash.t * int) ->
(Tezos_base.TzPervasives.Protocol_hash.t * int) ->
unit Lwt.tmigration ~catching_up (old_protocol, old_protocol_level) (new_protocol, new_protocol_level) emits and event for when the rollup node detects and handles a protocol migration.
Emit a fatal error for the daemon.
Emit an event for when the node enters the degraded mode to only play refutations.
Emit an event for when the node enters the bailout mode to only defends and cements, does not publish any new commitment.