This is a multi-part question.
I downloaded source code of bitcoin core from github and compiled it on my Windows 10. Then I got bitcoind
and bitcoin-qt
among other commands. I first run bitcoin-qt
and choose a directory(D:\bitcoin
) for blockchain data storing. However because I need to use bitcoin-cli
tool and bitcoin-qt doesn't expose an RPC service by default, I close bitcoin-qt and start bitcoind
.
But then I found that bitcoind
didn't download blockchain from where bitcoin-qt
stopped(by run bitcoin-cli -getinfo
). How can I make bitcoind
download that way? (I use bitcoind -datadir=D:\bitcoin
to do that, is it right?)
Another question is where should I put my configure file. In my home directory(C:\Users\MyName
) or just in the same data directory(D:\bitcoin
)? Does bitcoind
and bitcoin-qt
use the same configure file?