
If you haven't already downloaded the blockchain through bitcoin-qt's startup or didn't let it finish, that's fine too, you can let it start now that you've got a path specified to download it to where you want it to stay. It's also helpful if you've already got a system with the blockchain downloaded and you don't want to have to wait for it to download all over again on another computer you can use an external hard drive or something. This way you can store the whole block chain on a separate drive or partition from your other stuff. If you've already let bitcoin run and download a blockchain, you can change where that points to by adding to nf "blocksdir=/media/userName/CryptoSSD/.bitcoin".

These are the same commands as can be typed into the terminal of the bitcoin-qt console when the app is running, but we want the commands to run before the app launches so that it's using the directories we specify rather than the default paths. In ther terminal, use: 'sudo flatpak override -qt -filesystem=/media/userName/CryptoSSD/' to accomplish this.įifth, the bitcoin-qt creates a 'nf' file, for configuration changes. The launcher that was installed earlier runs bitcoin-qt through 'flatpak run bitcoin-qt' command, so we need to allow flatpak to see outside of its sandbox. Third, copy the contents of the '-qt/data' directory into my "/media/userName/CryptoSSD/.bitcoin" directory.įourth, tell flatpak to allow using another filesystem. (I'm using a drive mounted under "/media/userName/CryptoSSD/.bitcoin" for this example). Second, locate the drive and folder you'd like to use for bitcoin wallets and block chain instead. If in that output you see "-qt/x86_64/stable" or something similar, then this approach will work for you.įirst, locate you data directories being used currently by the bitcoin-qt app: in a terminal, type "locate bitcoin-qt" and you should get an address starting from the home directory "~/.var/.app/-qt" from the output command.

#BITCOIN CORE DIRECTORY HOW TO#
I did manage to find out how to do this though, so hopefully it'll help someone else figure it out too.īefore starting out, make sure to back things up!!!įirst, after installing bitcoin core and running it and having it working, close it.

#BITCOIN CORE DIRECTORY SOFTWARE#
If you installed bitcoin-core from the software manager, bitcoin may be installed as a flatpak, which changes all the file paths from most of the other answers you'll get on this question from a search.
