refactor: make some BlockManager members const #26664
pull promag wants to merge 4 commits into bitcoin:master from promag:blockman-const changing 6 files +13 −13-
promag commented at 4:11 pm on December 8, 2022: memberThese methods can be const so make them const 🤷
-
refactor: ComputeUTXOStats receives const BlockManager& d0efa0c453
-
refactor: make BlockManager::IsBlockPruned const d888624207
-
refactor: make BlockManager::GetLastCheckpoint const 5d659fff70
-
refactor: make BlockManager::GetFirstStoredBlock const c4ecddd25a
-
DrahtBot commented at 4:11 pm on December 8, 2022: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviews
See the guideline for information on the review process.
Type Reviewers Concept ACK TheCharlatan If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #26533 (prune: scan and unlink already pruned block files on startup by andrewtoth)
- #26415 (rpc,rest,zmq: faster getblock, NotifyBlock and rest_block by reading raw block by andrewtoth)
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.
-
DrahtBot added the label Refactoring on Dec 8, 2022
-
TheCharlatan commented at 10:04 pm on February 17, 2023: contributor
Concept ACK
It won’t make a difference to any callers of the
BlockManager
, but I think you could markFlushUndoFile
asconst
as well. -
DrahtBot added the label Needs rebase on Feb 28, 2023
-
DrahtBot commented at 3:45 pm on February 28, 2023: contributor
🐙 This pull request conflicts with the target branch and needs rebase.
-
achow101 commented at 4:26 pm on April 25, 2023: member
The feature request didn’t seem to attract much attention in the past. Also, the issue seems not important enough right now to keep it sitting around idle in the list of open issues.
Closing due to lack of interest. Pull requests with improvements are always welcome.
-
achow101 closed this on Apr 25, 2023
-
bitcoin locked this on Apr 24, 2024
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 15:12 UTC
More mirrored repositories can be found on mirror.b10c.me