Module forest_filecoin::db
source · Re-exports§
pub use gc::MarkAndSweep;
pub use memory::MemoryDB;
Modules§
- db_mode 🔒
- gc 🔒The current implementation of the garbage collector is
concurrent mark-and-sweep
. - memory 🔒
Traits§
- Traits for collecting DB stats
- A trait to facilitate mark-and-sweep garbage collection.
- Interface used to store and retrieve settings from the database. To store IPLD blocks, use the
BlockStore
trait. - Extension trait for the
SettingsStore
trait. It is implemented for all types that implementSettingsStore
. It provides methods for writing and reading any serializable object from the store.
Functions§
- A function that converts a
multihash::MultihashGeneric
digest into au32
representation. We don’t care about collisions here as main use-case is garbage collection.