package octez-proto-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.