Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bbit on June 18, 2011, 03:01:38 AM



Title: Wallet.dat question...if anyone can help..
Post by: bbit on June 18, 2011, 03:01:38 AM
If I do all the steps and copy and  encrypt my wallet.dat  to trueencrypt  and have it stored away but use a local copy of the wallet.dat with a few coins to do a few spends  does the one that is stored away know I have spent the coins or added coins? how exactly would that work?


Title: Re: Wallet.dat question...if anyone can help..
Post by: AntiVigilante on June 18, 2011, 03:17:23 AM
If I do all the steps and copy and  encrypt my wallet.dat  to trueencrypt  and have it stored away but use a local copy of the wallet.dat with a few coins to do a few spends  does the one that is stored away know I have spent the coins or added coins? how exactly would that work?

The network knows. Your coins are in the network transaction history. Just make sure you have the same addresses.


Title: Re: Wallet.dat question...if anyone can help..
Post by: FreeMoney on June 18, 2011, 04:46:35 AM
The block chain is the lockbox, your wallet holds your keys. Keys don't need to be told when something goes in a box, they'll work just the same.


Title: Re: Wallet.dat question...if anyone can help..
Post by: willphase on June 18, 2011, 06:30:37 PM
If you are planning on restoring your wallet from backup then be careful because each time you send bitcoins your client is generating new keypairs for the change (left over bitcoins after the send) and your backed up wallet won't have these new keypairs.

Each time you send you should re-backup if you want your balance to be correctly restored after a data loss.

If, instead you just wish to store bitcoins securely you're better of generating a fresh keypair and storing this keypair securely and sending bitcoins to this address when you want to bank them.

Will