-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new 2.2.0 version breaks the wallet.dat #201
Comments
In what way does the seed 'change' - are the words actually different or are you talking about it having a number at the end? |
Yes, it has a number appended at the end. |
Okay, this is actually a new feature the number at the end uses a special compact encoding to encode a birthdate that when present enables faster recovery in future. I'm not sure why you have a new mining address, as that shouldn't happen and doesn't happen on a test wallet here - do you not maybe have more than one mining account and they are getting confused? The new address would not appear on the explorer as you haven't mined into it yet, the explorer cannot know about unused addresses only used ones. |
It's the same account but the address changes after rescan, as I said. Should I try to recover the wallet with the appended number? |
I can now reproduce the address change (it happens only on a wallet upgrade) Note this isn't harmful in any way, other than being annoying in terms of the address being different - if you want the original address recovering with the appended number will probably put you in a state where you are back on it. |
I recovered from the modified seed. But the wallet still needs rescan as the balance is initially zero. After rescan it changes again. But if it's not an issue, that's ok. |
Okay the change is a bit weird, as it shouldn't do that, but it shouldn't be an issue either (other than messing up your statistics if you wanted all mining to be on one address) If you are concerned you can just do |
Just to confirm you are on 2.2.0.2, and what platform? |
Yes, 2.2.0.2, Arch Linux. |
Mining address should never change for a mining accounts. Fixes #201
Changing of address will be fixed in 2.2.0.3 build |
There's something else strange with v2.2.0.2. I generated a fresh wallet. I started mining on a new account. Today I found a block. But the transaction shows another address that received the reward. |
Does |
So how would the fix work? It will use the displayed address to generate the transactions? Because I installed the new version, I rescanned the transactions and I still see |
If you recover from phrase on 2.2.0.3 it will put you back in a state where the mining account only ever uses the first address in it, and the address never changes. (but likely will be different from the address you see now) If you continue to use a wallet file that is already 'affected' in 2.2.0.3 then it will 'settle' on the last generated address and use that from now on, this should be the same address thats shown in the UI. You can test this by calling |
Ok, thanks for the explanation. |
With 2.2.0.5 release wallet should now be 'repaired' such that you automatically land back on your original address |
Describe the issue
Version 2.2.0 broke my wallet. The mining address changed and it also altered my seed phrase.
The balance seems to be correct in the wallet, but if I look for the new address in the explorer it can't be found.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
The text was updated successfully, but these errors were encountered: