1. Overview
  2. Docs

A store composed of a single file on disk to store the rollup information. This is used to guarantee consistency between several runs of the Tx rollup node.

type t

The type of the singleton store.

val read : t -> rollup_info option Lwt.t

Reads the current value from the disk. Returns None if the file does not exist or if it is corrupted.

Write the value to disk.

val delete : t -> unit Lwt.t

Deletes the value from the disk.