Tezos_dal_node_services.L1_crawler_statustype t = | Catching_up of {}The crawler is processing a large number of levels at startup to catch up with the last L1 finalized level.
*)| SyncedThe crawler is fully synchronized with the L1 chain (it processed the last finalized L1 block.
*)| Lagging of {}The crawler is behind the L1 finalized block and not progressing. This may indicate issues or temporary delays.
*)| L1_bootstrappingThe L1 node is currently bootstrapping and has not yet reached a stable state. This status is possible when starting the DAL node.
*)| L1_unreachableThe DAL node is unable to reach the L1 node.
*)| UnknownThe crawler's status is unknown.
*)Status of the DAL node's L1 crawler, indicating its sync state with the L1 chain.
val encoding : t Tezos_base.TzPervasives.Data_encoding.tEncoding of the L1 crawler status.
val catching_up_or_synced_status :
head_level:int32 ->
last_processed_level:int32 ->
tcatching_up_or_synced_status ~head_level ~last_processed_level returns the appropriate status of the crawler: Catching_up if the last_processed_level is more than 2 levels behind head_level, considering the Tenderbake finality lag; Synced otherwise.
val lagging_or_synced_status :
head_level:int32 ->
last_processed_level:int32 ->
tSimilar to catching_up_or_synced_status below, but returns Lagging if the crawler is behind instead of Catching_up.