package octez-smart-rollup-node-lib

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

Data related to the effects of garbage collection.

type levels = {
  1. last_gc_level : int32;
    (*

    Records the last level at which GC was called.

    *)
  2. first_available_level : int32;
    (*

    Records the first level for which data is guaranteed to be stored. Data for all previous levels might have been removed.

    *)
}
include Tezos_layer2_store.Indexed_store.SINGLETON_STORE with type value = levels
type +'a t
type value = levels
val load : path:string -> 'a Tezos_layer2_store.Store_sigs.mode -> 'a t Tezos_base.TzPervasives.tzresult Lwt.t
val read : [> `Read ] t -> value option Tezos_base.TzPervasives.tzresult Lwt.t
val write : [> `Write ] t -> value -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val delete : [> `Write ] t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val readonly : [> `Read ] t -> [ `Read ] t
OCaml

Innovation. Community. Security.