package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

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

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.