package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

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

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.