pull down to refresh

Did you try to unloadwallet -> loadwallet wallet?

error code: -18
error message:
Requested wallet does not exist or is not loaded

Listwallets returns an empty array.
And then when I load the wallet I get the original error message (top).
The file wallet.dat exists though.

reply

listwallets will give you a name (maybe ["wallet"], I actually never tested this part myself)

and then unloadwallet <walletnamefromlist>

reply
reply

ok try unloadwallet ""

reply

{
}

load wallet.dat now, it's taking some time

reply

yeah it will rescan. looks like that worked.

reply

Ok. My node is still syncing. Is this going to take like very long?

reply

Yes, but it should run with sync.

Tell me you don't run this on a raspberry pi 4 and you have nothing to worry about.

{
"name": "wallet.dat",
"warnings": [
"Wallet loaded successfully. The legacy wallet type is being deprecated and support for creating and opening legacy wallets will be removed in the future. Legacy wallets can be migrated to a descriptor wallet with migratewallet."
]
}

Wallet completed loading in 682319ms

You gotta have the seed phrase, right? It's easier to just wipe that one and re-import! I read that issue might be linked to pruned nodes.

reply

Yes, I've opted for the pruned version. It's probably solved now. The loaded wallet name defaulted to "" somehow.

reply

I think that's because wallet.dat used to be the default back when you could only have 1 wallet per node.

reply

No seed phrases in bitcoin core!!! (at least it was last time I was awake which was in 2017 lol)

reply

You're right! It's been a few years since I last reinstalled Bitcoin Core. I totally forgot about that.

reply