Bitcoin Forum
November 14, 2024, 02:23:35 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Key pool?  (Read 2644 times)
codler (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 05, 2011, 10:29:56 PM
 #1

What is key pool? I do not understand this. https://en.bitcoin.it/wiki/Key_pool Could someone explain? Do it affect number of addresses you can have in wallet?

drawoc
Full Member
***
Offline Offline

Activity: 168
Merit: 100

Firstbits: 175wn


View Profile
July 06, 2011, 12:01:30 AM
 #2

That just means that when you first get a new wallet, it generates 100 new addresses, and puts them in your wallet. From then on, whenever you hit the "New address" button, you get one of those 100 addresses that was already in your wallet, but hidden from you. If you run out of those 100 addresses, another 100 are placed in your wallet.

Donate: 175WNXmJ1WVhFgVGKUqEhYtAQGRYAvqPA
koin
Legendary
*
Offline Offline

Activity: 873
Merit: 1000


View Profile
July 06, 2011, 12:40:45 AM
 #3

If you run out of those 100 addresses, another 100 are placed in your wallet.

i believe how it works is that as you use addresses from the pool, the pool is replenished so that it has 100 (by default, or whatever level is specified for the keypool size)
drawoc
Full Member
***
Offline Offline

Activity: 168
Merit: 100

Firstbits: 175wn


View Profile
July 06, 2011, 01:10:31 AM
 #4

i believe how it works is that as you use addresses from the pool, the pool is replenished so that it has 100 (by default, or whatever level is specified for the keypool size)

Read up on it more, and he's right. I stand corrected.

Donate: 175WNXmJ1WVhFgVGKUqEhYtAQGRYAvqPA
codler (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 06, 2011, 07:20:09 AM
 #5

If you run out of those 100 addresses, another 100 are placed in your wallet.

i believe how it works is that as you use addresses from the pool, the pool is replenished so that it has 100 (by default, or whatever level is specified for the keypool size)

So if I use 1 of 100 reserved addresses it will reserve 1 more address from pool so it has 100 addresses again?

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1181


View Profile WWW
July 06, 2011, 09:41:34 AM
 #6

So if I use 1 of 100 reserved addresses it will reserve 1 more address from pool so it has 100 addresses again?

Exactly.

The reason for this is backups: if you have not used 100 extra addresses since your last backup, the backup will still have all necessary private keys.

I do Bitcoin stuff.
codler (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 06, 2011, 10:23:37 AM
 #7

Thanks for the answers!

One more question. Are the reserved addresses stored locally or online?

kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
July 06, 2011, 12:13:48 PM
 #8

Thanks for the answers!

One more question. Are the reserved addresses stored locally or online?
in wallet.dat. very locally.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
codler (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 07, 2011, 07:25:51 AM
 #9

Thanks for the answers!

One more question. Are the reserved addresses stored locally or online?
in wallet.dat. very locally.

In that case. If you have two computers with same wallet and then make 100transations on each computer, they will have different reserved addresses, right? Will that be a problem?

kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
July 07, 2011, 08:06:16 AM
 #10

Thanks for the answers!

One more question. Are the reserved addresses stored locally or online?
in wallet.dat. very locally.

In that case. If you have two computers with same wallet and then make 100transations on each computer, they will have different reserved addresses, right? Will that be a problem?
no. i don't think so. but the current client haves a few bug, so if something from the wallet gets transfered, the other client gets confused. but a bitcoin -rescan will fix it.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
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!