Provides a low-level, Bitcoin Core–compatible in-memory cache for LevelDB-style storage with LRU eviction and memory accounting.
# Cargo.toml
[dependencies]
bitcoinleveldb-cache = "0.1.19"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an LRU cache with capacity 100 and inserts a key-value pair.
Use `charge` method to account for memory usage of inserted values.
No dependency data recorded yet.