Module Evm_node_lib_prod.Blueprints_publisher

val start : rollup_node_endpoint:Uri.t -> max_blueprints_lag:int -> max_blueprints_ahead:int -> max_blueprints_catchup:int -> catchup_cooldown:int -> latest_level_seen:Z.t -> unit -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val shutdown : unit -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val publish : Z.t -> [ `External of string ] list -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

publish level payload sends a request to the publisher worker to forward the chunked blueprint payload for level level to the rollup node.

val new_l2_head : Z.t -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

new_l2_head rollup_head tells the worker that a new L2 head has been published and that the rollup head is now rollup_head.