package tezos-context

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

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.