ckb_store/lib.rs
1//! CKB chain related persistent implementation
2//!
3//! This Library contains the `ChainStore` traits
4//! which provides chain data store interface
5
6mod cache;
7mod cell;
8pub mod data_loader_wrapper;
9mod db;
10mod snapshot;
11mod store;
12mod transaction;
13mod write_batch;
14
15#[cfg(test)]
16mod tests;
17
18pub use cache::StoreCache;
19pub use cell::{attach_block_cell, detach_block_cell};
20pub use db::ChainDB;
21pub use snapshot::StoreSnapshot;
22pub use store::ChainStore;
23pub use transaction::StoreTransaction;
24pub use write_batch::StoreWriteBatch;
25
26pub use ckb_freezer::Freezer;