Evm_node_lib_prod.Rollup_node_storage
module Last_finalized_level : sig ... end
module Block_key : sig ... end
module L2_blocks : sig ... end
module Levels_to_hashes : sig ... end
val load :
?index_buffer_size:int ->
?cache_size:int ->
rollup_node_data_dir:string ->
unit ->
(Mavryk_layer2_store.Store_sigs.ro Last_finalized_level.t
* Mavryk_layer2_store.Store_sigs.ro Levels_to_hashes.t
* Mavryk_layer2_store.Store_sigs.ro L2_blocks.t,
Mavryk_base.TzPervasives.tztrace)
Stdlib.result
Lwt.t
load ~rollup_node_data_dir
load the needed storage from the rollup node: last_finalized_level, levels_to_hashes, and l2_blocks. default index_buffer_size
is 10_000
an cache_size
is 300_000
. They are the same value as for the rollup node.