package tezos-store

  1. Overview
  2. Docs
Tezos: store for `octez-node`

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-store.unix/Tezos_store_unix/Protocol_store/index.html

Module Tezos_store_unix.Protocol_storeSource

Protocol store

Sourcetype t

The type for the protocol store.

mem pstore proto_hash tests the existence of the protocol indexed by proto_hash in the store.

all pstore returns the set of all stored protocols in pstore.

raw_store pstore proto_hash proto_bytes stores on disk the protocol proto_bytes (encoded bytes) indexed as proto_hash. Returns None if the protocol already exists.

store pstore proto_hash protocol stores on disk the protocol protocol indexed as proto_hash. Returns None if the protocol already exists.

read pstore proto_hash reads from pstore and returns the protocol indexed by proto_hash. Returns None if the protocol cannot be read.

Sourceval init : [ `Store_dir ] Tezos_store_shared.Naming.directory -> t Lwt.t

init store_dir creates a store relatively to store_dir path or loads it if it already exists.

OCaml

Innovation. Community. Security.