While the Chia blockchain data is still relatively small in this early stage, it will continue to grow. At some point you may want to move the files to another folder. In this guide, you will learn how to change the location of your Chia blockchain data. It is also possible to move the wallet data in the same way.
C:\Users\<YOURUSERNAME>\.chia\mainnet\and navigate to the “config” folder. Here you will find the config.yaml file. Open it with your favorite text editor and change the following entries:
Changes are made using our example path
D:\Chia_Blockchain, but ofcourse you can replace this with whichever path you want to store your db files. It is recommended that you run the db and wallet of an SSD.
|Blockchain||full_node: database_path:|| ||
|Blockchain peer table||full_node: peer_db_path:|| ||
|Wallet peer table||wallet: wallet_peers_path:|| ||
Note: This guide was written before Chia v1.3.0. If you want to move the db after this, simply change the entries above with
v2. To learn how to upgrade from v1 to v2, see this guide.
It should be noted that the blockchain file is a bit larger than currently necessary. This is because the Timelord focusses on creating the proof of time that moves the chain forward as fast as possible, but does not optimize for the smallest possible proof of Time. Bluebox Timelords fulfill this duty; they ex post scan the blockchain to see if there are any uncompressed proofs out there, which it then compactifies and gossips around the whole network. This helps reduce the size of the db. Check out arewecompactifiedyet.live, a cool website that tracks the blockchain size and the % of compactified blocks to learn the state of compactification.