Author

Topic: createwallet does not work in alternate chains (23.99.0) (Read 107 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
In fact the entire Wallet subsystem calls seem to be missing. Attempting to call any of them returns "method not found".
You're probably missing the wallet dependencies so configure automatically disabled the wallet. Make sure you have at least one of sqlite and bdb installed.

Apparently, I did not have libsqlite3-dev installed, and my BDB build path wasn't exported either. I was 100% sure I built BDB before, since that concided with a pevious source compilation. I forgot to export it again, and run configure with that.

All chains have wallet support now.
staff
Activity: 3458
Merit: 6793
Just writing some code
In fact the entire Wallet subsystem calls seem to be missing. Attempting to call any of them returns "method not found".
You're probably missing the wallet dependencies so configure automatically disabled the wallet. Make sure you have at least one of sqlite and bdb installed.

I don't want to take my 0.21.1 node offline to run the wallet tests on mainnet, because that will upgrade the file formats irreversibly.
No it won't. Any background upgrades are always backwards compatible. Anything that is not backwards compatible requires explicit user action.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
As the version number in the title implies, I am running a debug version of Bitcoin Core 23.0, because I am trying to test a small feature I have just added to part of the wallet subsystem.

The RPC for creating a wallet in bitcoin-cli, is createwallet, and loadwallet for loading a wallet. Neither of these are present in Regtest, Signet, or Testnet networks. In fact the entire Wallet subsystem calls seem to be missing. Attempting to call any of them returns "method not found".

I don't want to take my 0.21.1 node offline to run the wallet tests on mainnet, because that will upgrade the file formats irreversibly. So how am I supposed to create a wallet on the other chains?

Build options (Ubuntu 20.04 LTS):
Code:
./autogen.sh && ./configure --enable-debug && make check -j4

Runtime options:
Code:
./bitcoind -nodaemon -chain=xxx  -debug=walletdb -debug=rpc
Jump to: