Uh oh!
There was an error while loading. Please reload this page.
Remove reindex special case from the progress bar label - #697
Hidden character warning
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
maflcko
commented
Jan 17, 2023
maflcko
commented
Jan 28, 2023
So the only user-visible change should be changing the word "Reindex" to "Index" |
hebasto
commented
Feb 2, 2023
Concept ACK. As this PR touches code outside the |
maflcko
commented
Feb 2, 2023
It is only changing an interface that the gui uses, so I think it should be fine |
hebasto
commented
Feb 2, 2023
cc @ryanofsky |
LarryRuane
left a comment
There was a problem hiding this comment.
code-review, tested ACK fa20044
I ran src/qt/bitcoin-qt -noconnect -signet -reindex with and without the PR, and the status message (lower-left corner) for stage 1 was as expected. I didn't try reindex-chainstate, loadblock, or reindex stage 2.
| if (m_node.isLoadingBlocks()) return BlockSource::DISK; | ||
| if (getNumConnections() > 0) return BlockSource::NETWORK; |
There was a problem hiding this comment.
I like this, somehow else following return (or break, continue) doesn't seem right.
john-moffett
left a comment
There was a problem hiding this comment.
maflcko
commented
Feb 7, 2023
Thanks, removed and rebased. Should be trivial to re-ACK with git range-diff |
john-moffett
commented
Feb 7, 2023
Re-ACK faff2ba |
LarryRuane
commented
Feb 8, 2023
post-merge re-ACK |





The user knows which option they passed to the program, so it seems overly verbose to offer the user feedback whether or not they passed
-reindex. Treat it asDISK, like all other cases that are treated asDISK:-reindex-chainstate-loadblock