Module Protocol_hash.WeakRingTable
include Aches.Vache.MAP with type key = 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 capacity : 'a t -> int
val encoding : 'a Data_encoding.t -> 'a t Data_encoding.t