Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jun 14, 2021

The block index (CBlockTreeDB) is required to write and read blocks, so move it to blockstorage

@practicalswift
Copy link
Contributor

Concept ACK

@DrahtBot
Copy link
Contributor

DrahtBot commented Jun 14, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #23581 (Move BlockManager to node/blockstorage by MarcoFalke)
  • #23517 (scripted-diff: Move miner to src/node by MarcoFalke)
  • #22932 (Guard CBlockIndex::nStatus by cs_main, require GetBlockPos/GetUndoPos to hold cs_main by jonatack)

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.

@theStack
Copy link
Contributor

Concept ACK

@fanquake
Copy link
Member

Concept ACK - want to rebase/fixup this?

MarcoFalke added 4 commits November 23, 2021 12:42
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.
@maflcko maflcko marked this pull request as ready for review November 23, 2021 11:45
@DrahtBot
Copy link
Contributor

🐙 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".

@DrahtBot
Copy link
Contributor

There hasn't been much activity lately and the patch still needs rebase. What is the status here?
  • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
  • Is it no longer relevant? ➡️ Please close.
  • Did the author lose interest or time to work on this? ➡️ Please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future.

@maflcko maflcko closed this Jul 22, 2022
@maflcko maflcko deleted the 2106-blockstorage branch July 22, 2022 12:20
@bitcoin bitcoin locked and limited conversation to collaborators Jul 22, 2023
@bitcoin bitcoin unlocked this conversation Aug 1, 2023
fanquake added a commit that referenced this pull request Sep 5, 2023
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
@bitcoin bitcoin locked and limited conversation to collaborators Jul 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants