package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.