Mavkit_smart_rollup_node.EventThis module defines functions that emit the events used when the smart rollup node is running (see Daemon).
val rollup_exists :
addr:Mavkit_smart_rollup.Address.t ->
kind:Mavkit_smart_rollup.Kind.t ->
unit Lwt.trollup_exists addr kind emits the event that the smart rollup node is interacting with the rollup at address addr and of the given kind.
shutdown_node exit_status emits the event that the smart rollup node is stopping with exit status exit_status.
starting_metrics_server ~metrics_addr ~metrics_port emits the event that the metrics server for the rollup node is starting.
metrics_ended error emits the event that the metrics server has ended with a failure.
metrics_ended error emits the event that the metrics server has ended with a failure. (Doesn't wait for event to be emited.
kernel_debug str emits the event that the kernel has logged str.
simulation_kernel_debug str emits the event that the kernel has logged str during a simulation.
kernel_debug str emits the event that the kernel has logged str. (Doesn't wait for event to be emitted)
warn_dal_enabled_no_node () emits a warning for when DAL is enabled in the protocol but the rollup node has no DAL node.
val waiting_first_block :
Mavryk_base.TzPervasives.Protocol_hash.t ->
unit Lwt.tEmit event that the node is waiting for the first block of its protocol.
val received_first_block :
Mavryk_base.TzPervasives.Block_hash.t ->
Mavryk_base.TzPervasives.Protocol_hash.t ->
unit Lwt.tEmit event that the node received the first block of its protocol.
Emit event that the node will shutdown because of protocol migration.
acquiring_lock () emits an event to indicate that the node is attempting to acquire a lock on the data directory.
calling_gc ~gc_level ~head_level emits the event that the GC is started for level gc_level.
gc_levels_storage_failure () emits an event which indicates that GC level values (last_gc_level, first_available_level) could not be written to storage.
val convert_history_mode :
Configuration.history_mode ->
Configuration.history_mode ->
unit Lwt.tconvert_history_mode old_history_mode new_history_mode emits an event for when the history mode of the rollup node is changed.