package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/tezos_store_unix/Tezos_store_unix/Consistency/index.html

Module Tezos_store_unix.ConsistencySource

Sourceval check_consistency : [ `Chain_dir ] Tezos_store_shared.Naming.directory -> Tezos_base.TzPervasives.Genesis.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t

check_consistency store_dir genesis checks that the store is in a consistent state.

Sourceval fix_consistency : ?history_mode:Tezos_shell_services.History_mode.t -> [ `Chain_dir ] Tezos_store_shared.Naming.directory -> Tezos_context.Context.index -> Tezos_base.TzPervasives.Genesis.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t

fix_consistency ?history_mode store_dir context_index genesis aims to fix a store if it is in an inconsistent state. To do so, it will inspect the stored data and try infer all the missing or corrupted parts.

OCaml

Innovation. Community. Security.