Bitcoin Forum
April 26, 2024, 04:49:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: lost receiving address after restoring wallet.dat from backup  (Read 601 times)
vayu (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 09, 2017, 09:54:47 PM
 #1

Hi!

I use BitCoin Core 0.13.1
I created an additional receiving address to get payments from NiceHash.
I got one payment and later I had to restore my wallet.dat from backup. Backup was created before I created an additional address, so now I can't see this address in the list.

NiceHash will send me new payment shortly to the same address (I can't change this). Will I receive the payment? What will happen?

Thanks a lot!
1714150169
Hero Member
*
Offline Offline

Posts: 1714150169

View Profile Personal Message (Offline)

Ignore
1714150169
Reply with quote  #2

1714150169
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714150169
Hero Member
*
Offline Offline

Posts: 1714150169

View Profile Personal Message (Offline)

Ignore
1714150169
Reply with quote  #2

1714150169
Report to moderator
hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
July 09, 2017, 10:05:04 PM
 #2

If your wallet is not hierarchical determinstic (HD), then there's a pool of 100 keys that are pre-generated and stored in the backup, so the next 100 addresses you generate after making your backup will protected as well. If it is an HD wallet, then every address (not just 100) is protected in this way. Try generating an address in your wallet and it should match the one you generated last time.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 09, 2017, 10:06:52 PM
 #3

Hi!

I use BitCoin Core 0.13.1
I created an additional receiving address to get payments from NiceHash.
I got one payment and later I had to restore my wallet.dat from backup. Backup was created before I created an additional address, so now I can't see this address in the list.

NiceHash will send me new payment shortly to the same address (I can't change this). Will I receive the payment? What will happen?

Thanks a lot!


Where was the wallet.dat file created? If it was on one of the later versions of the core then it will have a seed and you can deterministically bring up what your previous recieving address was by just creating new addresses untilit shows up (although this should probably have already been done when you loaded the backup).

If the wallet.dat file was created with an older version of the core then I'm not sure it's possible or if it is then it won't be a simple solution.
vayu (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 09, 2017, 10:14:05 PM
 #4

If your wallet is not hierarchical determinstic (HD), then there's a pool of 100 keys that are pre-generated and stored in the backup, so the next 100 addresses you generate after making your backup will protected as well. If it is an HD wallet, then every address (not just 100) is protected in this way. Try generating an address in your wallet and it should match the one you generated last time.

Thanks for the idea. I generated a couple of new addresses, but all of them are completely different..

I initially created wallet.dat many years ago with an old bitcoin core version.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 09, 2017, 10:16:13 PM
 #5

If your wallet is not hierarchical determinstic (HD), then there's a pool of 100 keys that are pre-generated and stored in the backup, so the next 100 addresses you generate after making your backup will protected as well. If it is an HD wallet, then every address (not just 100) is protected in this way. Try generating an address in your wallet and it should match the one you generated last time.

Thanks for the idea. I generated a couple of new addresses, but all of them are completely different..

I initially created wallet.dat many years ago with an old bitcoin core version.

It won't have the HD part of it then if it's in Bitcoin Core.
Unless it's one of the 100 addresses that were backed up then you sadly have lost your coins unless there's a reason you lost your file and we could come up with a way to recover it?
hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
July 09, 2017, 10:20:54 PM
 #6

If your wallet is not hierarchical determinstic (HD), then there's a pool of 100 keys that are pre-generated and stored in the backup, so the next 100 addresses you generate after making your backup will protected as well. If it is an HD wallet, then every address (not just 100) is protected in this way. Try generating an address in your wallet and it should match the one you generated last time.

Thanks for the idea. I generated a couple of new addresses, but all of them are completely different..

I initially created wallet.dat many years ago with an old bitcoin core version.

Unfortunately the address has not been properly backed up then. It was vital that non-HD wallets were backed up regularly, and the documentation didn't stress this clearly enough in my opinion. As jackg mentioned, there might be ways to perform data recovery; you should immediately stop using this computer if there is a chance that the file was deleted, but pieces of it still remain on the hard disk.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
vayu (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 09, 2017, 10:24:13 PM
 #7

UPDATE:

I create a couple of new addresses and necessary one has appeared after several attempts! great!

Thank you, everyone, for your support!
hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
July 09, 2017, 10:27:18 PM
 #8

UPDATE:

I create a couple of new addresses and necessary one has appeared after several attempts! great!

Thank you, everyone, for your support!

No problem, happy to have helped. I assumed that the address you were trying to recover was the first one in the pool, it must have been somewhere else in the pool of 100 addresses.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!