package tezos-protocol-environment

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type size
type index
type identifier
type key
type value = ..
val key_of_identifier : cache_index:index -> identifier -> key
val identifier_of_key : key -> identifier
val pp : Stdlib.Format.formatter -> t -> unit
val find : t -> key -> value option Lwt.t
val set_cache_layout : t -> size list -> t Lwt.t
val update : t -> key -> (value * size) option -> t
val sync : t -> cache_nonce:Stdlib.Bytes.t -> t Lwt.t
val clear : t -> t
val list_keys : t -> cache_index:index -> (key * size) list option
val key_rank : t -> key -> int option
val future_cache_expectation : t -> time_in_blocks:int -> t
val cache_size : t -> cache_index:index -> size option
val cache_size_limit : t -> cache_index:index -> size option
OCaml

Innovation. Community. Security.