Post
Topic
Board Bitcoin Technical Support
Merits 4 from 1 user
Re: Need help with my testnet bitcoind for cli
by
nc50lc
on 22/03/2024, 05:21:39 UTC
⭐ Merited by hugeblack (4)
Ok, thanks for the first flag!

But for the loadwallets why? I never used it and everything worked well testnet as well as mainnet.
So the previous testnet setup had those wallets loaded?

Anyways, have you received errors when loading the wallets?
If none and the setting.json file shows the wallet's name or path, then that wallet should now automatically load in the next session.

The file settings.json is replicated into /Volumes/Crucial X8/bitcoin/Bitcoin/testnet3 and /Volumes/Crucial X8/bitcoin/Bitcoin/testnet3/testnet3.

The settings.json file contains:

{
    "_warning_": "This file is automatically generated and updated by Bitcoin Core. Please do not edit this file while the node is running, as any changes might be ignored or overwritten."
}
It should have the a json-encoded list of loaded wallets below that warning message, like this:
Code:
{
    "_warning_": "This file is automatically generated and updated by Bitcoin Core. Please do not edit this file while the node is running, as any changes might be ignored or overwritten.",
    "wallet": [
        "wallet1",
        "wallet2"
    ]
}

Since it's empty for some reason, Bitcoin Core wont load any of the wallets in the wallets directory.
Refer only to the "settings.json" in the data directory that you've been using which is still in:
2024-03-21T12:25:10Z Command-line arg: datadir="/Volumes/Crucial X8/bitcoin/Bitcoin/testnet3"