Bitcoin Forum
May 07, 2024, 02:45:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: question about backing up wallet.dat and then making new receive addresses  (Read 856 times)
JohnnyCashout (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
September 19, 2011, 07:00:31 PM
 #1

Lets say I have 90 bitcoins, and I make a backup of my wallet.dat

then I manually make 10 new receive addresses in my wallet by going to address book->receiving-> new address and receive 1 bitcoin each to each of those addresses, now I have 100 bitcoins.

Now lets say I lose my wallet.dat due to hard drive crash.  If I restore my backed-up wallet, will I have 90 or 100 bitcoins? 
1715049930
Hero Member
*
Offline Offline

Posts: 1715049930

View Profile Personal Message (Offline)

Ignore
1715049930
Reply with quote  #2

1715049930
Report to moderator
1715049930
Hero Member
*
Offline Offline

Posts: 1715049930

View Profile Personal Message (Offline)

Ignore
1715049930
Reply with quote  #2

1715049930
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
September 19, 2011, 07:10:53 PM
 #2

You will have 100.

Bitcoin pre-generates addresses for your next 100 transactions (Either new addresses as you describe, or automatically generated ones for the "change" when you spend), and stores them in the "key pool".  As long as you back up your wallet before you use them up, you're safe.  You can also set it to use a larger key pool if you go through a lot of addresses and can't back up frequently enough.

More info here: https://en.bitcoin.it/wiki/Securing_your_wallet

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
JohnnyCashout (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
September 19, 2011, 07:45:48 PM
 #3

You will have 100.

Bitcoin pre-generates addresses for your next 100 transactions (Either new addresses as you describe, or automatically generated ones for the "change" when you spend), and stores them in the "key pool".  As long as you back up your wallet before you use them up, you're safe.  You can also set it to use a larger key pool if you go through a lot of addresses and can't back up frequently enough.

More info here: https://en.bitcoin.it/wiki/Securing_your_wallet

cool, thanks.  I knew it pre-generated addresses but I didn't know that manually creating one also comes from the same pre-generated key-pool (I Thought the key-pool was just for 'change' transactions), that’s what I was worried about.
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!