Mavkit_crawler.Layer1_eventThis module defines functions that emit the events used by the layer 1 chain (see Layer_1).
Emits the event that the connection to the Mavryk node has been lost.
Emits the event that the connection to the Mavryk node has timeouted.
val connection_error :
name:string ->
Mavryk_base.TzPervasives.tztrace ->
unit Lwt.tEmits the event that the connection to the Mavryk node has errored.
val cannot_connect :
name:string ->
count:int ->
Mavryk_base.TzPervasives.tztrace ->
unit Lwt.tcannot_connect ~count error emits the event that the rollup node cannot connect to the Mavryk node because of error for the count's time.
wait_reconnect delay emits the event that the rollup will wait delay seconds before attempting to reconnect to the Mavryk node .
val switched_new_head :
name:string ->
Mavryk_base.TzPervasives.Block_hash.t ->
int32 ->
unit Lwt.tswitched_new_head hash level emits the event that the layer 1 has notified a new head with hash at some given level.