Crate ckb_store

Crate ckb_store 

Source
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
StoreCache
The cache of chain store.
StoreSnapshot
A snapshot of the chain store.
StoreTransaction
A Transaction DB
StoreWriteBatch
Wrapper of RocksDBWriteBatch, provides atomic batch of write operations.

Traits§

ChainStore
The ChainStore trait 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.