doc: Change GiB to GB in release-process.md #30171
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will make it consistent with the Welcome GUI and code comments which use "GB" for the
m_assumed_blockchain_size
andm_assumed_chain_state_size
values.Since they are used as GB values to calculate disk space in GB needed in the GUI, measuring size in GiB here will cause users to run out of space without a graphical warning. The error between units is over 45 GB for the full chain.
This doc is the only place we say they are GiB, and while an 8-10% overhead can account for the unit conversion, we say the overhead was for growth between releases, not abusing the units without conversion.
bitcoin/src/kernel/chainparams.h
Lines 106 to 109 in 4c387cb
Here is a 3rd spot where the GiB value is presented to the user as GB:
bitcoin/src/init.cpp
Lines 1696 to 1713 in 4c387cb
However, it comes right after using the value correctly as GiB (unlike in GUI which uses it as GB). So that may need to be patched to calculate bytes from GB instead of GiB.