0
I am running a full node using Bitcoin Core GUI on Windows 10. The conf file is in my bitcoin data directory, instead of being in the appdata/roaming folder. But Bitcoin-qt points to it by default and seems to work fine.
But bitcoind and bitcoin-cli are looking for the conf file in the appdata/roaming folder, which I guess is the reason the bitcoind server never appears to start. How do I start bitcoind and check if it is running or not? I need bitcoind to run so that I can use json-rpc commands.
If I run bitcoind on cmd, it appears to start downloading the whole blockchain again, which is unnecessary because I already have all of it.
Thanks @KappaDev - quick question: When you say "click on "Properties" of a shortcut to bitcoin-qt.exe and add -datadir=D:\BitcoinData at the end as an example:"
Actually, I wanted to update the conf file location for bitcoind and not bitcoin-qt. When I right click on Properties for the bitcoind exe file, it doesn't give me any place to enter any such commands. Which tab of the properties should I look under, please?
I am able to run bitcoind on cmd using --datadir=d:\BitcoinData as a one-time thing, but I want bitcoind to remember the location every time. – oktested – 2018-10-24T08:28:37.757
@oktested No problem. The actual .EXE file won't have the same properties tab, you need to right click the EXE and press "Create Shortcut". Once you have created the shortcut, right click it and go to properties and modify the "Target" option. It will look something like this. Just modify the line the same way you would run from the command prompt. If you have your BTC automatically on startup, check the startup folder of your operating system and edit that shortcut too.
– KappaDev – 2018-10-24T14:28:37.010