mod flat_serializer;
mod store;

pub use store::{ChainKVStore, ChainStore, StoreBatch};

use ckb_db::Col;

pub const COLUMNS: u32 = 12;
pub const COLUMN_INDEX: Col = 0;
pub const COLUMN_BLOCK_HEADER: Col = 1;
pub const COLUMN_BLOCK_BODY: Col = 2;
pub const COLUMN_BLOCK_UNCLE: Col = 3;
pub const COLUMN_META: Col = 4;
pub const COLUMN_TRANSACTION_ADDR: Col = 5;
pub const COLUMN_EXT: Col = 6;
pub const COLUMN_BLOCK_TRANSACTION_ADDRESSES: Col = 7;
pub const COLUMN_BLOCK_PROPOSAL_IDS: Col = 8;
pub const COLUMN_CELL_META: Col = 9;
pub const COLUMN_BLOCK_EPOCH: Col = 10;
pub const COLUMN_EPOCH: Col = 11;
