Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
pub struct Cache<K: Eq + Hash, V>(LruCache<K, V>);
21
22
impl<K, V> Cache<K, V>
23
where
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected