bitcoin cli – Difficulty itemizing regtest wallets

0
65


  1. Ought to it’s assumed in case you’re testing with bitcoincore you must all the time have a separate datadir per model/bin?
  2. Based mostly on weirdness under, (not having the ability to listing regtest wallets), does it look like my present node is tousled? If sure, what ought to I do to recuperate? If no, what am I doing flawed?

I used to be operating model v25.0 of bitcoincore from bitcoincore.org. I crated some wallets and did some testing. I then compiled from grasp/supply bitcoin/bitcoin and pointed to the identical backend state/datadir that v25.0 was utilizing. Later I switched again to operating the binary v25.0.

I am curious if that could possibly be the explanation for seeing bizarre issues like this or if it is one thing else:

$ ./bitcoin-cli createwallet wallet_main
error code: -4
error message:
Pockets file verification failed. Did not create database path '/btcdata/regtest/wallets/wallet_main'. Database already exists.

$ ./bitcoin-cli listwallets
[
]

$ ./bitcoin-cli createwallet wallet_main33
{
  "identify": "wallet_main33"
}

$ ./bitcoin-cli listwallets
[
  "wallet_main33"
]

$ ./bitcoin-cli createwallet wallet_main
error code: -4
error message:
Pockets file verification failed. Did not create database path '/btcdata/regtest/wallets/wallet_main'. Database already exists.

I used to be performing some testing on regtest just a few days in the past and created a number of wallets together with a “wallet_main”, it appears there may be nonetheless some knowledge of this and different regtest wallets, however they do not present up with the listwallets command.

Am I doing one thing flawed to listing the all of the wallets? Is it perhaps a bug? or did I maybe mess up my node?

Extra notes:
Inside my /btcdata/regtest/wallets/ listing all my wallets look the identical in time period person/permissions the folder for the pockets names are 700, drwx------, and the interior pockets.dat‘s are 600, -rw-------. I certainly have a /btcdata/regtest/wallets/wallet_main dir.

LEAVE A REPLY

Please enter your comment!
Please enter your name here