package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Tezos_layer2_store.Store_sigs.Map with type key := Tezos_base.TzPervasives.Block_hash.t with type value := Octez_smart_rollup.Dal.Slot_history.V1.t with type 'a store := 'a Irmin_store.t

Path in the irmin tree.

mem store key checks whether there is a binding of the map for key key in store.

get store key retrieves from store the value associated with key in the map. It raises an error if such a value does not exist.

find store key retrieves from store the value associated with key in the map. If the value exists it is returned as an optional value. Otherwise, None is returned.

find_with_default ~on_default store key retrieves from store the value associated with key in the map. If the value exists it is returned as is. Otherwise, on_default is returned.

add store key value adds a binding from key to value to the map, and persists it to disk. If key already exists in the store, it must be bound to value.

OCaml

Innovation. Community. Security.