You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[We are] trying to use as much bitcoin functionality as possible. Bitcoins CWallet already has methods to set the master key but I do suspect it was not their intention for them to be used /after/ a wallet has been created already. When the node comes up it automatically creates a wallet. Upon creation the wallet is preseeded with a list of reserve keys. It is thus tricky to distinguish a newly created wallet from a wallet which is already in use. Nevertheless you could import a new masterkey into an already used wallet, which is why setting a new masterkey will automatically backup your existing wallet (although in most cases this will be an empty wallet).
Ways to solve this:
create and open a completely new wallet
detect whether current wallet is used, if used -> fail, of not used -> replace master key
The text was updated successfully, but these errors were encountered:
This commit moves the wallet backup location for `importmasterkey` from the current directory to the Unit-e daemon's datadir.
Tangentially related to #40.
Signed-off-by: Mihai Ciumeica <[email protected]>
From a comment in #37
Ways to solve this:
The text was updated successfully, but these errors were encountered: