Bitcoin Forum
May 11, 2024, 07:05:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Show Message/Counter when address pool since last backup has been depleted.  (Read 3659 times)
flower1024
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


View Profile
July 13, 2012, 06:31:53 AM
 #21

@Gavin: deterministic wallets sounds way better.

should i give the backup implementation a try? would be my first contact to bitcoind.
i've planned to attach an "IsBackuped"-Attribute to every address inside the keypool and to show a warning as there are now more (or only a few) "backuped" addresses left.

^^ do you think this is still a good idea? how fast is this bip going to be implemented?

A quick and small patch doesn't hurt if it's a good one Smiley IMHO. Btw. IsInBackup sounds less weird!?

Dia

thanks.. my english is always a little weird.
1715454312
Hero Member
*
Offline Offline

Posts: 1715454312

View Profile Personal Message (Offline)

Ignore
1715454312
Reply with quote  #2

1715454312
Report to moderator
1715454312
Hero Member
*
Offline Offline

Posts: 1715454312

View Profile Personal Message (Offline)

Ignore
1715454312
Reply with quote  #2

1715454312
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715454312
Hero Member
*
Offline Offline

Posts: 1715454312

View Profile Personal Message (Offline)

Ignore
1715454312
Reply with quote  #2

1715454312
Report to moderator
1715454312
Hero Member
*
Offline Offline

Posts: 1715454312

View Profile Personal Message (Offline)

Ignore
1715454312
Reply with quote  #2

1715454312
Report to moderator
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 13, 2012, 08:44:11 AM
 #22

If you have a keypool of 100 keys and use a key the oldest key in the keypool is added to the active key portion of the wallet and the a new key created and added to the keypool.  The keypool will always be 100 keys.  The question is are there any keys in the keypool which aren't in your last backup.

This isn't true.  The keypool of encrypted wallets can only be refilled if the passphrase is known.

See my answer here for more details of how it works: http://bitcoin.stackexchange.com/questions/4095/how-does-bitcoind-generate-a-new-address-if-the-wallet-is-encrypted

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Pages: « 1 [2]  All
  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!