Post
Topic
Board Bitcoin Technical Support
Merits 2 from 2 users
Re: Need help with my testnet bitcoind for cli
by
nc50lc
on 21/03/2024, 05:13:39 UTC
⭐ Merited by ABCbits (1) ,hugeblack (1)
I'm running the node with: bitcoind -datadir=/Volumes/Crucial\ X8/bitcoin/Bitcoin/testnet3 -txindex=1 -testnet
-snip-
BUT a second problem: my wallets stored into ./testnet3/wallets AND ./testnet3/testnet3/wallets are not opened by the node:
If you want to use the /Volumes/Crucial\ X8/bitcoin/Bitcoin/testnet3 dir as your testnet dir;
You should use: bitcoind --datadir=/Volumes/Crucial\ X8/bitcoin/Bitcoin --testnet instead.

By default, bitcoind will use the bitcoin.conf file inside the data directory but you can manually set it via --conf= arg.

But I still don't see my wallets loaded I don't understand why:
Wallets have to be manually loaded and set to be loaded on startup if you prefer,
Use the command: $ bitcoin-cli --datadir=/Volumes/Crucial\ X8/bitcoin/Bitcoin --testnet loadwallet "walletname" true
Set to "false" if you don't want it to load in the next session.