package tezos-store

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-store.unix/Tezos_store_unix/Store/Protocol/index.html

Module Store.ProtocolSource

The module for handling protocol-related operations.

mem global_store ph checks the existence of the protocol ph in global_store.

all global_store ph returns the set of all stored protocol in global_store.

read global_store ph reads the protocol ph from the global_store. Returns None if it does not exist.

store global_store ph protocol stores the protocol under the hash ph in the global_store. Returns None if it already exists or Some ph if it was correctly stored.

Warning No hash check is made, the caller must be careful when storing protocols.

store_raw global_store ph bytes raw version of store.

protocol_watcher global_store instantiates a new protocol watcher in global_store.

OCaml

Innovation. Community. Security.