Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Nov 23, 2021

BlockManager is responsible for reading and writing block(headers). So move it to the existing blockstorage module in node. Also, move validation code unrelated to block-storage out from BlockManager.

@maflcko maflcko force-pushed the 2111-blockstorage branch 2 times, most recently from 5beaff2 to 8888475 Compare November 24, 2021 08:07
@DrahtBot
Copy link
Contributor

DrahtBot commented Nov 24, 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:

  • #23810 (refactor: destroy all C-style casts; use modern C++ casts, enforce via -Wold-style-cast by PastaPastaPasta)
  • #22932 (Guard CBlockIndex::nStatus by cs_main, require GetBlockPos/GetUndoPos to hold cs_main by jonatack)
  • #21726 (Improve Indices on pruned nodes via prune blockers by fjahr)
  • #20827 (During IBD, prune as much as possible until we get close to where we will eventually keep blocks by luke-jr)

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.

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK.

MarcoFalke added 2 commits January 2, 2022 17:05
Can be reviewed with --color-moved=dimmed-zebra
Can be reviewed with --word-diff-regex=. -U0 --ignore-all-space
@maflcko maflcko force-pushed the 2111-blockstorage branch from 1e1117f to fa7efc9 Compare January 2, 2022 16:08
@maflcko
Copy link
Member Author

maflcko commented Jan 2, 2022

Rebased

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review obvious ACK fa7efc9

@fanquake fanquake merged commit 2f37b22 into bitcoin:master Jan 4, 2022
@maflcko maflcko deleted the 2111-blockstorage branch January 4, 2022 08:13
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jan 4, 2022
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Nov 16, 2022
Summary:
Can be reviewed with --color-moved=dimmed-zebra

This is a backport of [[bitcoin/bitcoin#23581 | core#23581]]
bitcoin/bitcoin@fade2a4

Depends on D12487

Test Plan: `ninja all check-all`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12507
@bitcoin bitcoin locked and limited conversation to collaborators Jan 4, 2023
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