I've kept the same config file and internal hard drive for my Bitcoin Core datadir for many years. I've updated to numerous new versions.
The other day, I reinstalled Windows on the system drive again. And thus reinstalled Bitcoin Core (v22.0.0) again. When it started up, I pointed it to the datadir on the other disk as usual.
Now I realize that it has deleted all of the blockchain data for the first time ever, leaving only 2 GB. It prunes by default to 2 GB now. And apparently, my config needed to have an explicit rule to tell it to not prune... which it of course didn't.
While I'm glad that I don't have to store all that stupid data anymore, it does make me question why they would enable this by default and actually delete existing data. Has pruning now reached such a level of stability that it's completely "safe" and there is no need to save the full blockchain anymore?
Or am I now running Bitcoin Core in "crippled mode"? Even though I did not actively set it to prune?
bitcoind
orbitcoin-qt
? Have you checked the UI settings (they are separate from bitcoin.conf)? Is something about "prune" logged in debug.log?bitcoin-qt.exe
. Yes, the UI settings were and are set to prune at 2 GB, since that's now the default, but the bitcoin.conf is supposed to take precedence over the GUI settings.