Bitcoin Forum
December 08, 2016, 10:31:52 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: question about backing up wallet.dat and then making new receive addresses  (Read 699 times)
JohnnyCashout
Jr. Member
*
Offline Offline

Activity: 35


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? 
1481236312
Hero Member
*
Offline Offline

Posts: 1481236312

View Profile Personal Message (Offline)

Ignore
1481236312
Reply with quote  #2

1481236312
Report to moderator
1481236312
Hero Member
*
Offline Offline

Posts: 1481236312

View Profile Personal Message (Offline)

Ignore
1481236312
Reply with quote  #2

1481236312
Report to moderator
1481236312
Hero Member
*
Offline Offline

Posts: 1481236312

View Profile Personal Message (Offline)

Ignore
1481236312
Reply with quote  #2

1481236312
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481236312
Hero Member
*
Offline Offline

Posts: 1481236312

View Profile Personal Message (Offline)

Ignore
1481236312
Reply with quote  #2

1481236312
Report to moderator
1481236312
Hero Member
*
Offline Offline

Posts: 1481236312

View Profile Personal Message (Offline)

Ignore
1481236312
Reply with quote  #2

1481236312
Report to moderator
Revalin
Hero Member
*****
Offline Offline

Activity: 728


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
Jr. Member
*
Offline Offline

Activity: 35


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!