This will make it consistent with the Welcome GUI and code comments which use “GB” for the m_assumed_blockchain_size
and m_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.
Here is a 3rd spot where the GiB value is presented to the user as GB: https://github.com/bitcoin/bitcoin/blob/4c387cb64ff4c74f911b1559fb0ef143ee6c268b/src/init.cpp#L1696-L1713
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.