Bitcoin Forum
June 24, 2024, 09:00:39 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Add more than 100 pre generated bitcoin addresses (backup reasons)  (Read 1057 times)
dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
August 15, 2013, 07:44:31 AM
 #1

Hi!

I've read this article: http://www.digitalllama.net/2011/07/bitcoin-how-to-backup-walletdat.html

And the guy mentioned the following:
Quote
The public/private keys can become used in two ways so your wallet.dat file contains 100 spare keys for future use (you can change this default to anything you want).


Anyone know how to do this? I would like to keep using my current wallet.dat file that I use for daily transactions without bithering about backups after every transaction...
(I would probably want to add at least 1000 new addresses)

I know it's possible to just create a new wallet.dat file, but then I loose all my current addresses, and they are 'out there' and other people and websites use them.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4672



View Profile
August 15, 2013, 11:39:39 AM
 #2

Hi!

I've read this article: http://www.digitalllama.net/2011/07/bitcoin-how-to-backup-walletdat.html

And the guy mentioned the following:
Quote
The public/private keys can become used in two ways so your wallet.dat file contains 100 spare keys for future use (you can change this default to anything you want).


Anyone know how to do this? I would like to keep using my current wallet.dat file that I use for daily transactions without bithering about backups after every transaction...
(I would probably want to add at least 1000 new addresses)

I know it's possible to just create a new wallet.dat file, but then I loose all my current addresses, and they are 'out there' and other people and websites use them.

The Bitcoin-Qt already pre-generates and stores (without showing them to you) the next 100 addresses that it will use.  Therefore you shouldn't need to backup after EVERY TRANSACTION. 

It is generally a good idea to have a few recent backups just in case one of them is damaged, lost, or otherwise unusable. If you keep track of how many times you click the "New Address" button, and you keep track of how many transactions you send, you can backup any time the sum of those two numbers is approximately 25.  Then you can keep the 3 most recent backups and still be able to recover all your bitcoins from any of those backups.

If you want to increase the size of your key pool to 1000, you'll need to create a bitcoin.conf file in your bitcoin data directory and add the following line to that file:

Code:
keypool=1000
dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
August 15, 2013, 11:51:18 AM
 #3

ok! Thanks!

Didn't knew it happened automatically Smiley

I'll check with a fresh wallet if I can edit what you suggested and I'll also keep track of the new adresses and transaction Smiley
Don't want to loose my precious coins Wink

Although I only use 1 wallet often, the other wallets are 'safe deposits' Wink
drawingthesun
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
August 15, 2013, 02:31:44 PM
 #4

Will deterministic wallets be used in the official client at some point? Then only 1 key needs to be backed up and you can rebuild all the addresses from that key in the future, no lost addresses.
dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
August 15, 2013, 03:11:39 PM
 #5

Will deterministic wallets be used in the official client at some point? Then only 1 key needs to be backed up and you can rebuild all the addresses from that key in the future, no lost addresses.

That would indeed be more intuitive...
Needed for mass adotion! Smiley


I counted, already had more than 300 transactions (and 20 adresses)
So i'm lucky (no computer crash, until this point just did a backup after every new address generated in the client, not after transactions)  Smiley
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4672



View Profile
August 15, 2013, 04:00:45 PM
 #6

I counted, already had more than 300 transactions (and 20 adresses)
So i'm lucky (no computer crash, until this point just did a backup after every new address generated in the client, not after transactions)  Smiley

Note that you only need to keep track of the transactions that you SEND.  Receives transactions are not important as they don't use up additional addresses.
dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
August 15, 2013, 04:10:30 PM
 #7

I counted, already had more than 300 transactions (and 20 adresses)
So i'm lucky (no computer crash, until this point just did a backup after every new address generated in the client, not after transactions)  Smiley

Note that you only need to keep track of the transactions that you SEND.  Receives transactions are not important as they don't use up additional addresses.

than I'm now just below 100 adresses Smiley
thx for the info!
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!