package tezos-context

  1. Overview
  2. Docs
Tezos: on-disk context abstraction for `octez-node`

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/tezos-context.helpers/Tezos_context_helpers/Context/Make_proof/index.html

Module Context.Make_proofSource

Parameters

module DB : DB

Signature

type kinded_key := [
  1. | `Value of DB.contents_key
  2. | `Node of DB.node_key
]
type tree_proof := Proof.tree Proof.t
type stream_proof := Proof.stream Proof.t
type ('proof, 'result) producer := DB.repo -> kinded_key -> (DB.tree -> (DB.tree * 'result) Lwt.t) -> ('proof * 'result) Lwt.t
type ('proof, 'result) verifier := 'proof -> (DB.tree -> (DB.tree * 'result) Lwt.t) -> (DB.tree * 'result, [ `Proof_mismatch of string | `Stream_too_long of string | `Stream_too_short of string ]) result Lwt.t
Sourceval produce_tree_proof : (tree_proof, 'a) producer
Sourceval verify_tree_proof : (tree_proof, 'a) verifier
Sourceval produce_stream_proof : (stream_proof, 'a) producer
Sourceval verify_stream_proof : (stream_proof, 'a) verifier
OCaml

Innovation. Community. Security.