Tezos_dal_node_lib.Snapshotval export :
data_dir:string ->
config_file:string ->
endpoint:Uri.t option ->
min_published_level:int32 option ->
max_published_level:int32 option ->
slots:int list option ->
string ->
unit Tezos_base.TzPervasives.tzresult Lwt.texport ~data_dir ~config_file ~endpoint ~min_published_level ~max_published_level path exports the DAL node store data for slots published between min_published_level and max_published_level (inclusive) to a snapshot at the given path. If min_published_level is None, the first_seen_level from the store is used as the default. If max_published_level is None, the last_processed_level from the store is used as the default. The endpoint parameter, if provided, overrides the endpoint specified in the config file.
val import :
?check:bool ->
data_dir:string ->
config_file:string ->
endpoint:Uri.t option ->
min_published_level:int32 option ->
max_published_level:int32 option ->
slots:int list option ->
string ->
unit Tezos_base.TzPervasives.tzresult Lwt.timport ~data_dir ~config_file ~endpoint ~min_published_level ~max_published_level path imports DAL node store data from path and merges it into data_dir. This is equivalent to exporting data_dir into path, and this is basically implemented by the same underlying function with swapped argument positions.