package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/tezos_protocol_environment_alpha/Tezos_protocol_environment_alpha/Context/index.html

Module Tezos_protocol_environment_alpha.Context

type depth = [
  1. | `Eq of int
  2. | `Ge of int
  3. | `Gt of int
  4. | `Le of int
  5. | `Lt of int
]
type config = Tezos_context_sigs.Config.t
val equal_config : config -> config -> bool
module type VIEW = sig ... end
module Kind : sig ... end
module type TREE = sig ... end
module Proof : sig ... end
type t = Tezos_protocol_environment__.Environment_context.Context.t
type key = string list
type value = bytes
type tree
val mem : t -> key -> bool Lwt.t
val mem_tree : t -> key -> bool Lwt.t
val find : t -> key -> value option Lwt.t
val find_tree : t -> key -> tree option Lwt.t
val list : t -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
val length : t -> key -> int Lwt.t
val add : t -> key -> value -> t Lwt.t
val add_tree : t -> key -> tree -> t Lwt.t
val remove : t -> key -> t Lwt.t
val fold : ?depth:depth -> t -> key -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(key -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val config : t -> config
module Tree : sig ... end
val verify_tree_proof : Proof.tree Proof.t -> (tree -> (tree * 'a) Lwt.t) -> (tree * 'a, [ `Proof_mismatch of string | `Stream_too_long of string | `Stream_too_short of string ]) Pervasives.result Lwt.t
val verify_stream_proof : Proof.stream Proof.t -> (tree -> (tree * 'a) Lwt.t) -> (tree * 'a, [ `Proof_mismatch of string | `Stream_too_long of string | `Stream_too_short of string ]) Pervasives.result Lwt.t
module type PROOF_ENCODING = sig ... end
module Proof_encoding : sig ... end
val complete : t -> string -> string list Lwt.t
val get_hash_version : t -> Context_hash.Version.t
type cache_key = Tezos_protocol_environment__.Environment_context.Context.cache_key
type cache_value = Tezos_protocol_environment__.Environment_context.Context.cache_value = ..
module type CACHE = sig ... end
module Cache : sig ... end
OCaml

Innovation. Community. Security.