ckb
ckb copied to clipboard
Replace `SledBackend` by `ckb-rocksdb`
What problem does this PR solve?
This PR want to load/store Headers from/into ckb-rocksdb
What is changed and how it works?
Proposal: xxx Design doc: TODO
What's Changed:
Related changes
- Remove
SledBackend - Load/Store
packed::HeaderViewfromckb-rocksdb - Create a new
COLUMN: COLUMN_HEADER_INDEXto storenumber->hashrelation forHeaders - in processing headers, use insert headers by 1 batch insert transaction instead of 2000x sequencial insert transaction
Check List
Tests
- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code ci-runs-only: [ quick_checks,linters ]
Side effects
- Performance regression
- Breaking backward compatibility
Release note
Title Only: Include only the PR title in the release note.