package tezos-context

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

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.