forked from nervosnetwork/ckb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
435: refactor: store module BREAKCHANGE: This PR is a break change since we changed the rocksdb's column family name and column list, need to delete old database. This PR refactor db and chain store, make it easy to switch different key-value store implementation. - [x] Refactor `Batch` to associated type - [x] Refactor `ChainIndex` - [x] Remove some static lifetime bound for `ChainIndex` - [x] Change `Col` from Option to u32 - [x] Move `Cachedb` to db module Co-authored-by: quake wang <quake.wang@gmail.com>
- Loading branch information
Showing
29 changed files
with
450 additions
and
636 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.