mmgen-wallet icon indicating copy to clipboard operation
mmgen-wallet copied to clipboard

support bitcoind with multiple wallets

Open camschaus opened this issue 3 years ago • 2 comments

I have a few different wallets setup on my bitcoind node. Unfortunately mmgen doesn't currently support a node with multiple wallets.

$ mmgen-addrimport --batch my.addrs

MMGen Fatal Error (MMGenError): ERROR: more than one Bitcoin Core wallet loaded: ['test', 'eps1', 'eps2']

camschaus avatar Sep 11 '22 15:09 camschaus

I'll consider supporting this. The reason I haven't sooner is that implementing this change without undue complexity will break backwards compatibility for old installations that use the default wallet as tracking wallet.

In the meantime, unloading the 3 loaded wallets with bitcoin-cli unloadwallet before running MMGen should do the trick. Then you can load them back again with bitcoin-cli loadwallet. For a list of currently loaded wallets, invoke bitcoin-cli listwallets.

mmgen avatar Sep 11 '22 19:09 mmgen

Thanks. I'll try unloading the other wallets I have loaded.

camschaus avatar Sep 16 '22 04:09 camschaus

Thanks. I'll try unloading the other wallets I have loaded.

Issue resolved in commit b51868a. Enjoy!

mmgen avatar Jul 03 '23 12:07 mmgen

Issue fixed and closed

mmgen avatar Jul 03 '23 12:07 mmgen