Skip to content

Commit 292984b

Browse files
committed
Replace RocksDB by LMDB
* Removed RocksDB from Cargo.toml and database module. * Added `heed` crate to Cargo.toml. * Reimplemented all the database API to make use of LMDB over tokio blocking tasks. * Fixed potential key calculation bug. * Added documentation. * Refactored `Database::chunk_exists` to directly load the queried chunk into cache if it exists. * Refactored `Database::batch_insert` to avoid querying database for loading into cache chunks the function already have allocated.
1 parent 731413a commit 292984b

File tree

4 files changed

+413
-334
lines changed

4 files changed

+413
-334
lines changed

0 commit comments

Comments
 (0)