package octez-smart-rollup-node-lib

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

Storage containing commitments and corresponding commitment hashes that the rollup node has knowledge of.

type +'a t

The type of store built on indexes.

Load (or initializes) a store in the file path. If readonly is true, the store will only be accessed in read only mode.

Returns true if the key has a value associated in the store.

Returns the value associated to a key in the store, or None otherwise.

Add an association from a key to a value in the store. If flush (default to true) is set, the index is written on disk right away.

Closes the store. After this call the store cannot be accessed anymore (unless one calls load again).

val readonly : [> `Read ] t -> [ `Read ] t

readonly t returns a read only version of the store t.

OCaml

Innovation. Community. Security.