package tezos-legacy-store

  1. Overview
  2. Docs

Copy of legacy src/lib_shell/store.mli

type t
type global_store = t
val init : ?readonly:bool -> ?mapsize:int64 -> string -> (t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

init ~mapsize path returns an initialized store at path of maximum capacity mapsize bytes.

val close : t -> unit
val open_with_atomic_rw : ?mapsize:int64 -> string -> (t -> ('a, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t) -> ('a, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val with_atomic_rw : t -> (unit -> 'a Lwt.t) -> 'a Lwt.t

Configuration

module Configuration : sig ... end

Chain store

module Chain : sig ... end

Mutable chain data

module Chain_data : sig ... end

Block header store

module Block : sig ... end

Protocol store

module Protocol : sig ... end

Temporary test chain forking block store

OCaml

Innovation. Community. Security.