package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-protocol-alpha-libs.baking/Tezos_baking_alpha/Baking_cache/Block_cache/index.html

Module Baking_cache.Block_cacheSource

type key = Tezos_base.TzPervasives.Block_hash.t
type 'a t = 'a Vache.Map(Aches.Vache.LRU_Precise)(Aches.Vache.Strong)(Tezos_base.TzPervasives.Block_hash).t
val create : int -> 'a t
val replace : 'a t -> key -> 'a -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val fold_oldest_first : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val find_opt : 'a t -> key -> 'a option
val remove : 'a t -> key -> unit
val length : 'a t -> int
val capacity : 'a t -> int
val clear : 'a t -> unit
module H : sig ... end
OCaml

Innovation. Community. Security.