Bitcoin

Blockchain – Move entire directory to new location for Bitcoin Core CLI

Use Bitcoin CLI, not QT CLI. I used an external SSD to store block data on the SSD when syncing, but apparently I wasn’t aware of the datadir function.

Now my Chainstate, txindex are in the roaming folder and the blocks are on the external SSD.

1- If I copy and paste the chainstate, txindex and other files into the same folder as the block data, change the .conf file in the roaming folder and point datadir to the SSD folder where the block data is, will it work if I run bitcoind in roaming?

2- Should I also change the cookie path in the .conf file using #rpccookiefile=?

Any help would be greatly appreciated.

Related Articles

Back to top button