Expand description
CKB chain related persistent implementation
This Library contains the ChainStore traits
which provides chain data store interface
Modules§
- data_
loader_ wrapper - Data loader wrapper for blockchain data access.
Structs§
- ChainDB
- A database of the chain store based on the RocksDB wrapper
RocksDB - Freezer
- Freezer is an memory mapped append-only database to store immutable chain data into flat files
- Store
Cache - The cache of chain store.
- Store
Snapshot - A snapshot of the chain store.
- Store
Transaction - A Transaction DB
- Store
Write Batch - Wrapper of
RocksDBWriteBatch, provides atomic batch of write operations.
Traits§
- Chain
Store - The
ChainStoretrait provides chain data store interface
Functions§
- attach_
block_ cell - Apply the effects of this block on the live cell set.
- detach_
block_ cell - Undoes the effects of this block on the live cell set.