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.disk/Tezos_context_disk/Context_binary/Tree/index.html

Module Context_binary.TreeSource

Sourceval mem : tree -> key -> bool Lwt.t
Sourceval mem_tree : tree -> key -> bool Lwt.t
Sourceval find : tree -> key -> value option Lwt.t
Sourceval find_tree : tree -> key -> tree option Lwt.t
Sourceval list : tree -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
Sourceval length : tree -> key -> int Lwt.t
Sourceval add : tree -> key -> value -> tree Lwt.t
Sourceval add_tree : tree -> key -> tree -> tree Lwt.t
Sourceval remove : tree -> key -> tree Lwt.t
Sourceval fold : ?depth:[ `Eq of int | `Le of int | `Lt of int | `Ge of int | `Gt of int ] -> tree -> key -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(key -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
Sourceval empty : t -> tree
Sourceval is_empty : tree -> bool
Sourceval kind : tree -> [ `Value | `Tree ]
Sourceval to_value : tree -> value option Lwt.t
Sourceval of_value : t -> value -> tree Lwt.t
Sourceval hash : tree -> Tezos_base.TzPervasives.Context_hash.t
Sourceval equal : tree -> tree -> bool
Sourceval clear : ?depth:int -> tree -> unit
Sourceval pp : Format.formatter -> tree -> unit
Sourcetype raw = [
  1. | `Tree of raw Tezos_base.TzPervasives.String.Map.t
  2. | `Value of bytes
]
Sourceval raw_encoding : raw Tezos_base.TzPervasives.Data_encoding.t
Sourceval to_raw : tree -> raw Lwt.t
Sourceval of_raw : raw -> tree
Sourceval unshallow : tree -> tree Lwt.t
Sourcetype repo
Sourceval make_repo : unit -> repo Lwt.t
Sourceval is_shallow : tree -> bool
Sourceval kinded_key : tree -> kinded_key option
OCaml

Innovation. Community. Security.