|
August 04, 2011, 10:56:37 AM |
|
To move all your BTC to a new wallet with one computer:
A. Backup and remove original wallet: 1. Close bitcoin, verify it's not running. 2. Have lots of backups, such as making a 7-zip of the whole bitcoin data directory. 3. Move your existing wallet.dat out of the bitcoin data directory to a new location bitcoin/wallet1.
B. Create a new blank wallet: 1. Restart bitcoin, it will think for a while and silently create a new wallet without complaining that your old one is missing. 2. Record the first bitcoin address of the new wallet (notepad cut and paste, etc)
C. Send old coins to new address: 1. Close bitcoin, verify it's not running. 2. Move the new empty wallet.dat to a new location bitcoin/wallet2. 3. Copy the original wallet back from bitcoin/wallet1 to the main bitcoin directory 4. Launch bitcoin, send your new address a small amount of test coins (.01 BTC + fee). 5. Close bitcoin, and re-backup your old wallet to bitcoin/wallet1 (not always necessary, but best practice, since you could have exhausted your private key pool and sending could have created a new one.)
D. Verify they got there: 1. Copy the new wallet from bitcoin/wallet2 to the main bitcoin directory 2. Launch bitcoin 3. See that your test transfer appears after a few blocks and it gets eventually confirmed.
Repeat C and D for all your bitcoins, shred all old backup files to avoid confusion and backup your new wallet.dat encrypted. If you send money and it doesn't show up right in the new wallet using this technique, you can run bitcoin -rescan to rescan the blockchain for missing transactions; that's only a local problem though, the bitcoin network knows the new address got the bitcoins sent to it.
|