Bitcoin Forum
June 07, 2024, 02:26:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: How does wallet recovery work? on: September 13, 2022, 11:50:08 AM
So If I generate 25 keys in my wallet but don't use them, then generate some more and *do* use them, this gap might mean that my wallet could not be rebuilt successfully?
Yes, since the wallet can not guess that you did something that is not the default behavior of the wallet software. Which is why they offer the option to manually modify that limit.

Ok, got it, thanks for the clear explanation.
2  Bitcoin / Development & Technical Discussion / Re: How does wallet recovery work? on: September 13, 2022, 11:39:45 AM
Say I'd done 10,000 transactions in my wallet so there were 10,000 private keys. How would it know just to generate those 10,000?
It will generate 20 keys, sees they are used so derives 20 more and continues until it reaches 10,020th key and sees that the last 20 keys were not used.


So If I generate 25 keys in my wallet but don't use them, then generate some more and *do* use them, this gap might mean that my wallet could not be rebuilt successfully?

3  Bitcoin / Development & Technical Discussion / How does wallet recovery work? on: September 13, 2022, 07:59:10 AM
When I recover a wallet from a seed I end up with a master private key. That key is then used to generate other private keys. How does the wallet software know which private keys to generate, which are in use, and when to stop generating them? Surely it could generate an infinite number? Say I'd done 10,000 transactions in my wallet so there were 10,000 private keys. How would it know just to generate those 10,000?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!