Bitcoin Forum
May 21, 2024, 04:34:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Qt 0.9.1 (Core) doesn't require password for creating addresses. Why?  (Read 1010 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
April 26, 2014, 08:37:47 AM
 #1

On older versions (perhaps in 0.8.x), the wallet password was required to add a new receiving address.

This is no longer the case on Bitcoin Core 0.9.1.

Why is this? I find this a bit strange, because shouldn't a password be required to store the new private keys?
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4186
Merit: 8421



View Profile WWW
April 26, 2014, 09:24:26 AM
 #2

On older versions (perhaps in 0.8.x), the wallet password was required to add a new receiving address.
This is no longer the case on Bitcoin Core 0.9.1.
This was a bug— it asked for the key in those cases but did nothing with it.

Quote
Why is this? I find this a bit strange, because shouldn't a password be required to store the new private keys?
No, 100 addresses (by default) are precomputed— this is also what makes your backups stable. If it runs out it will prompt you for the password so it can generate more.
Minnlo
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000



View Profile
April 26, 2014, 03:50:59 PM
 #3


So, if I generate a new address, the client just takes one from the keypool but didn't generate a new key pair, right?
And when I have used all the keys in the keypool, I will need to enter my password and the clients will generate 100 new key pairs, right?

pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
April 26, 2014, 09:39:27 PM
 #4

On older versions (perhaps in 0.8.x), the wallet password was required to add a new receiving address.
This is no longer the case on Bitcoin Core 0.9.1.
This was a bug— it asked for the key in those cases but did nothing with it.

Quote
Why is this? I find this a bit strange, because shouldn't a password be required to store the new private keys?
No, 100 addresses (by default) are precomputed— this is also what makes your backups stable. If it runs out it will prompt you for the password so it can generate more.
Thanks! That clears everything up.
Mageant
Legendary
*
Offline Offline

Activity: 1145
Merit: 1001



View Profile WWW
May 30, 2014, 10:02:19 PM
 #5

On older versions (perhaps in 0.8.x), the wallet password was required to add a new receiving address.
This is no longer the case on Bitcoin Core 0.9.1.
This was a bug— it asked for the key in those cases but did nothing with it.

Quote
Why is this? I find this a bit strange, because shouldn't a password be required to store the new private keys?
No, 100 addresses (by default) are precomputed— this is also what makes your backups stable. If it runs out it will prompt you for the password so it can generate more.

What is the trigger at which it will generate more addresses?

When they keypool runs down to zero precomputed addresses? If it does that then making a backup immediately after the generation would be very important.

cjgames.com
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!