package tezos-protocol-013-PtJakart

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

Module Context.CacheSource

Sourcetype key = cache_key
Sourcetype value = cache_value = ..
Sourceval key_of_identifier : cache_index:int -> string -> key
Sourceval identifier_of_key : key -> string
Sourceval pp : Format.formatter -> t -> unit
Sourceval find : t -> key -> value option Lwt.t
Sourceval set_cache_layout : t -> int list -> t Lwt.t
Sourceval update : t -> key -> (value * int) option -> t
Sourceval sync : t -> cache_nonce:Bytes.t -> t Lwt.t
Sourceval clear : t -> t
Sourceval list_keys : t -> cache_index:int -> (key * int) 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:int -> int option
Sourceval cache_size_limit : t -> cache_index:int -> int option
OCaml

Innovation. Community. Security.