package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Environment_context = Tezos_protocol_environment.Context
val err_implementation_mismatch : expected:string -> got:string -> 'a
type index =
  1. | Disk_index of Tezos_context.Context.index
  2. | Memory_index of Tezos_context_memory.Context.index

Values of type index are used to checkout contexts specified by their hash.

val mem_tree : Environment_context.t -> Tezos_context.Context.key -> bool Lwt.t
val fold_value : ?depth:[ `Eq of int | `Le of int | `Lt of int | `Ge of int | `Gt of int ] -> Environment_context.t -> Tezos_context.Context.key -> order:[ `Sorted | `Undefined ] -> init:'a -> f: (Tezos_context.Context.key -> (unit -> Tezos_context_disk.Context.value option Lwt.t) -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val wait_gc_completion : index -> unit Lwt.t
val is_gc_allowed : index -> bool
val split : index -> unit Lwt.t
val sync : index -> unit Lwt.t
val merkle_tree : Environment_context.t -> Tezos_context_sigs__Context.Proof_types.merkle_leaf_kind -> Tezos_context.Context.key -> Tezos_context_sigs__Context.Proof_types.merkle_node Tezos_base.TzPervasives.String.Map.t Lwt.t
val merkle_tree_v2 : Environment_context.t -> Tezos_context_sigs__Context.Proof_types.merkle_leaf_kind -> Tezos_context.Context.key -> Tezos_context.Context.Proof.tree Tezos_context.Context.Proof.t Lwt.t
val exists : index -> Tezos_base.TzPervasives.Context_hash.t -> bool Lwt.t
val close : index -> unit Lwt.t
OCaml

Innovation. Community. Security.