How do I do the reindex-chainstate files?
First, close Bitcoin Core.
Find Bitcoin Core's installation folder, look for "
Bitcoin-qt" if you're using the GUI, else in daemon folder. (
if you've used the installer, it defaults to "C:\Program Files\Bitcoin")
While inside that folder, click Windows Explorer's "
File" menu and select "
Open Windows PowerShell" that will select the current folder as your working directory.
The working directory should be displayed in PowerShell, e.g.:
PS C:\Program Files\Bitcoin>In PowerShell, enter this to start Bitcoin-qt with the mentioned command line arg:
./bitcoin-qt --reindex-chainstate
That'll start Bitcoin Core and tell it to rebuild the chainstate.
Take note that it will take quite some time but it will not re-download blocks that you already have, unless your blockchain is "
pruned".
If you decided to follow the instructions above, you MUST remove that entry in your bitcoin.conf after your node is done with it.
Or else, it will reindex-chainstate every time you restart the client.
Also, the default data directory is in the "
Roaming" appdata directory instead of "
local".
So it should be in:
C:\Users\<YOUR_USERNAME>\AppData\Roaming\Bitcoin ; Shortcut:
%appdata%/bitcoinBut if you've set the datadir in F:/ with the GUI's "
Welcome Screen", you should use/create the bitcoin.conf file there.