I am running bitcoind after previously running bitcoin-qt. I made a wallet with bitcoin-qt (and encrypted it) and I would like to open it now with bitcoind. The folder that contains the wallet.dat file is in the data directory, but when I run either of the following:
bitcoin-cli listwallets
bitcoin-cli getwalletinfo
it does not show my wallet. I have tried:
bitcoind -wallet="directory with wallet.data file"
and still no luck, it just tried to rund bitcoind and says it is already running (not sure why, I am running bitcoind -daemon).
Any idea how I can import this wallet?
bitcoin-cli loadwallet <wallet name>
where<wallet name>
is the name of your wallet (i.e. the name of the directory containing the wallet.dat file)?