-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Move CBlockTreeDB to node/blockstorage #22242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Concept ACK |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Concept ACK |
facf8b0
to
fa7d90d
Compare
fa7d90d
to
c747c05
Compare
Concept ACK - want to rebase/fixup this? |
c747c05
to
2dbd4b3
Compare
This avoids compile errors in future commits.
Can be reviewed with --color-moved=dimmed-zebra
Can be reviewed with --ignore-all-space --word-diff-regex=.
There is no need to expose the internals in the header when only the blockstorage implementation (and txindex for historical reasons) care about them.
2dbd4b3
to
fad4d81
Compare
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
fae4055 scripted-diff: Rename CBlockTreeDB -> BlockTreeDB (MarcoFalke) faf6303 Fixup style of moved code (MarcoFalke) fa65111 move-only: Move CBlockTreeDB to node/blockstorage (MarcoFalke) fa86855 index: Drop legacy -txindex check (MarcoFalke) fa69148 scripted-diff: Use blocks_path where possible (MarcoFalke) Pull request description: The only reason for the check was to print a warning about an increase in storage use. Now that 22.x is EOL and everyone should have migrated (or decided to not care about storage use), remove the check. Also, a move-only commit is included. (Rebased from #22242) ACKs for top commit: TheCharlatan: ACK fae4055, though I lack historical context to really judge the second commit fa86855. stickies-v: ACK fae4055 Tree-SHA512: 9da8f48767ae52d8e8e21c09a40c949cc0838794f1856cc5f58a91acd3f00a3bca818c8082242b3fdc9ca5badb09059570bb3870850d3807b75a8e23b5222da1
The block index (
CBlockTreeDB
) is required to write and read blocks, so move it to blockstorage