0

I'm currently on windows and was wondering how do you make the qt client download the blockchain data to another directory? Since my main drive is a SSD hard drive, I don't have much space to spare. How would I configure this to make it download elsewhere?

Also would this apply to other qt clients like litecoin, ppcoin, etc?

1 Answer 1

2

Add '-datadir=path-to-directory' to the command used to start the client. For example,

bitcoin-qt -datadir=D:\Bitcoin

to store the bitcoin files in the D:\Bitcoin directory. Remember to enclose the directory path in double quotes if it contains spaces. Also move the subdirectories as well as the main application directory to the new location.

3
  • but what if im running a gui client? is there a setting somewhere? also does this also work for the other altcoins? Jan 5, 2014 at 22:54
  • This works for bitcoind (the daemon) and bitcoin-qt (the GUI). You must set it before starting the program since the program needs to know where to find its files. By the time the GUI is displayed, the client has already verified its files and connected to the network. This should work for other altcoins as long as they are built based on the bitcoin reference client. Jan 5, 2014 at 23:08
  • Verified working on philosopher stones and datacoin-qt for windows. My suggestion is to create a .bat file and start it by running the bat file instead of the .exe file where it points to the other directory. Jan 6, 2014 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.