package tezos-store

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

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.