Closed BenWestgate closed 1 month ago
Stale issue message
This will be fixed by removing the bails dialog and using Bitcoin Core's welcome screen. By assigning HOME+=/Persistent the default location will be the correct one.
This is also a duplicate of #35.
Despite switching to the Welcome screen, there's still a calculation error.
On a USB Stick with 50182044 1K blocks available, our math suggested using 30 GB as the initial prune but 31 GB would have not displayed a warning.
The actual prune value sent by the command line was -prune=28518
which is 29903290368 bytes so this was very close to having exceeded 30 GB which would have made the value displayed round up to 31 GB.
The Chainstate and 10 GB buffer (20 GB total currently) should be subtracted as 10^9 not 2^30, this would have displayed the correct slightly higher value.
This is likely due to the off by one, precision or rounding error in #35 and if not due to that, is from subtracting (10 + assumed chainstate) GiB from my available storage rather than 10 + 7 GB. Solve #35 first because it is simpler, then fix this dependant one.