Expand description
Storage of core types using RocksDB.
Re-exports§
pub use crate::lmdb::*;
Modules§
- leaf_
set - The Epic leaf_set implementation. Compact (roaring) bitmap representing the set of leaf positions that exist and are not currently pruned in the MMR.
- lmdb
- Storage of core types using LMDB.
- pmmr
- Implementation of the persistent Backend for the prunable MMR tree.
- prune_
list - The Epic “Prune List” implementation.
- types
- Common storage-related types
Functions§
- read_
bitmap - Read Bitmap from a file
- save_
via_ temp_ file - Creates temporary file with name created by adding
temp_suffix
topath
. Applies writer function to it and renames temporary file into original specified bypath
. - to_key
- Build a db key from a prefix and a byte vector identifier.
- to_
key_ u64 - Build a db key from a prefix and a byte vector identifier and numeric identifier
- u64_
to_ key - Build a db key from a prefix and a numeric identifier.