package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Exposed functions to manipulate Node_context store outside of this module

val load : 'a Tezos_layer2_store.Store_sigs.mode -> index_buffer_size:int -> l2_blocks_cache_size:int -> string -> 'a store Tezos_base.TzPervasives.tzresult Lwt.t

load mode ~index_buffer_size ~l2_blocks_cache_size directory loads a store form the data persisted directory as described in Store_sigs.load

close_store store closes the store

check_and_set_history_mode store history_mode checks the compatibility between given history mode and that of the store. History mode can be converted from Archive to Full. Trying to convert from Full to Archive will trigger an error.

val of_store : 'a Store.t -> 'a store
OCaml

Innovation. Community. Security.