package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/Context/Cache/index.html

Module Context.CacheSource

See Context.CACHE in sigs/v3/context.mli for documentation.

Sourcetype size = int
Sourcetype index = int
Sourcetype identifier = string
Sourcetype key = cache_key
Sourcetype value = cache_value = ..
Sourceval key_of_identifier : cache_index:index -> identifier -> key
Sourceval identifier_of_key : key -> identifier
Sourceval pp : Format.formatter -> t -> unit
Sourceval find : t -> key -> value option Lwt.t
Sourceval set_cache_layout : t -> size list -> t Lwt.t
Sourceval update : t -> key -> (value * size) option -> t
Sourceval sync : t -> cache_nonce:Tezos_base.TzPervasives.Bytes.t -> t Lwt.t
Sourceval clear : t -> t
Sourceval list_keys : t -> cache_index:index -> (key * size) list option
Sourceval key_rank : t -> key -> int option
Sourceval future_cache_expectation : t -> time_in_blocks:int -> t
Sourceval cache_size : t -> cache_index:index -> size option
Sourceval cache_size_limit : t -> cache_index:index -> size option
Sourcemodule Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.