package tezos-context
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-context.sigs/Tezos_context_sigs/Context/index.html
Module Tezos_context_sigs.Context
Source
The tree depth of a fold. See the fold
function for more information.
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.
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.
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
).
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.