-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Bugfix: Correct first-run free space checks #29678
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
base: master
Are you sure you want to change the base?
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/29678. 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. |
279c4ee
to
847ad93
Compare
@hebasto can you follow up given the gui / translation Qs here. This also needs a rebase. |
Indeed, there is inconsistency in GB/GiB unit usage. For instance, the value of the Line 1707 in 45f757c
Line 206 in 45f757c
Concept ACK. It would be nice to mention the second commit changes in the PR description, no?
The GUI now uses "GB" (SI prefix) as a unit, based on the mindset of non-technical/non-CS users. @GBKS What are modern guidelines in this regard?
For the GUI, the conversion to/from GB is still used: Lines 26 to 34 in 45f757c
|
I am curious about use cases where it is essential for the user to know the |
847ad93
to
c452d6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these changes seem consistent to me.
Concept ACK on generally using GB to refer to 1,000,000,000 bytes and GiB to refer to 1024³ bytes everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK using GB
to represent 10003 bytes for consistency with GUI
(close-open for fresh GitHub CI, I guess the Cirrus failure can be ignored for now) |
It's not clear what
m_assumed_*_size
are actually set based on, but historically it was in GB, not GiB, and that's still used in the GUI which is more user-facing.Could just as easily change the GUI if GiB is preferred.