MCPcopy Create free account
hub / github.com/BitVM/BitVM / Cache

Class Cache

bridge/src/client/memory_cache.rs:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18> = LazyLock::new(|| RwLock::new(Cache::new(DEFAULT_CACHE_SIZE)));
19
20pub struct Cache<K: Eq + Hash, V>(LruCache<K, V>);
21
22impl<K, V> Cache<K, V>
23where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected