package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/tezos_context_sigs/Tezos_context_sigs/Context/index.html

Module Tezos_context_sigs.ContextSource

Sourcetype depth = [
  1. | `Eq of int
  2. | `Le of int
  3. | `Lt of int
  4. | `Ge of int
  5. | `Gt of int
]

The tree depth of a fold. See the fold function for more information.

Sourcemodule type VIEW = sig ... end
Sourcemodule Kind : sig ... end
Sourcemodule type TREE = sig ... end

Tree provides immutable, in-memory partial mirror of the context, with lazy reads and delayed writes. The trees are Merkle trees that carry the same hash as the part of the context they mirror.

Sourcemodule type HASH_VERSION = sig ... end
Sourcemodule Proof_types : sig ... end

Tezos-specific proof types, as opposed to proofs provided by Irmin. These types are used only by the light mode and it is recommended to avoid extending their usage: only the light mode should use them.

Sourcemodule type PROOF = sig ... end
Sourcemodule type PROOF_ENCODING = sig ... end
Sourcemodule type TEZOS_CONTEXT = sig ... end

TEZOS_CONTEXT is the module type implemented by all storage implementations. This is the module type that the shell expects for its operation. As such, it should be a strict superset of the interface exposed to the protocol (see module type S above and Tezos_protocol_environment.Environment_context_intf.S).

Sourcemodule type Storelike = sig ... end

Functor With_get_data adds a get_data function to modules of signature S. Note that the partially applied get_data kind key function has the correct type to be provided to produce_tree_proof and verify_tree_proof which is its intended goal.

Sourceval current_data_key : string list
Sourceval data_key : string list -> string list
Sourcemodule With_get_data (Store : Storelike) : sig ... end
OCaml

Innovation. Community. Security.