package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/tezos_protocol_environment_alpha/Tezos_protocol_environment_alpha/Context/Cache/index.html

Module Context.Cache

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

Innovation. Community. Security.