Crate grin_store

source ·
Expand description

Storage of core types using RocksDB.

Re-exports§

  • pub use crate::lmdb::*;

Modules§

  • The Grin leaf_set implementation. Compact (roaring) bitmap representing the set of leaf positions that exist and are not currently pruned in the MMR.
  • Storage of core types using LMDB.
  • Implementation of the persistent Backend for the prunable MMR tree.
  • The Grin “Prune List” implementation.
  • Common storage-related types

Functions§

  • Read Bitmap from a file
  • Creates temporary file with name created by adding temp_suffix to path. Applies writer function to it and renames temporary file into original specified by path.
  • Build a db key from a prefix and a byte vector identifier.
  • Build a db key from a prefix and a byte vector identifier and numeric identifier
  • Build a db key from a prefix and a numeric identifier.