14

I am working with an older version of Bitcoin and want to upgrade to version .4. Is there a specific way to do this? I want to try to upgrade, but am paranoid that I could lose my wallet if I do something wrong.

Canen
  • 143
  • 1
  • 1
  • 5
  • 1
    Which operating system are you using? – blunders Sep 24 '11 at 01:44
  • 3
    Make sure to download the client securely: http://bitcoin.stackexchange.com/questions/565/how-can-one-download-the-bitcoin-client-securely – ripper234 Sep 24 '11 at 05:04
  • Personally I am using a Mac but I would like to know how to do it on a Windows also because my parents use it there. – Canen Sep 24 '11 at 16:26

1 Answers1

12

First, you should backup your wallet.dat in case something goes wrong. The file is located in the data directory:

Windows

C:\Documents and Settings\YourUserName\Application data\Bitcoin (XP)

C:\Users\YourUserName\Appdata\Roaming\Bitcoin (Vista and 7)

The easiest way to open your appdata folder is to press Windows Key-R, then type %appdata% and hit enter.

Linux

~/.bitcoin/

Mac

~/Library/Application Support/Bitcoin/

Then install the new version in the regular manner. The new client should use your previous settings (including the wallet and the blockchain data).
If, by some strange magic, your wallet gets corrupted, just copy your backup into the data folder.

Nick ODell
  • 29,396
  • 11
  • 72
  • 130
nmat
  • 11,509
  • 14
  • 50
  • 78