mmgen-wallet
mmgen-wallet copied to clipboard
support bitcoind with multiple wallets
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']
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.
Thanks. I'll try unloading the other wallets I have loaded.
Thanks. I'll try unloading the other wallets I have loaded.
Issue resolved in commit b51868a. Enjoy!
Issue fixed and closed