4
Whilst moving houses I came across some old HDDs which I've just found contains a wallet.dat from August 2011. The version of Bitcoin-qt must be 0.4.0 as I know the wallet.dat is password encrypted, which was introduced for version 0.4.0. It is 100% *not* >0.4.0, so the vulnerability patched by 0.4.1 is not in place.
What is the best way to go about restoring the encrypted addresses? If I were to install the 0.4.1 Bitcoin-qt update, would there be any problems with current OS dependencies? Should I use Windows, Linux? Any input greatly appreciated. (I will certainly keep a backup)
Just for clarity, the rescan which happens after an
importwalletdoesn't have to be manually initiated, is that correct? – Christopher Gurnee – 2015-05-05T18:34:13.160If you are importing multiple keys it's best to add false to the end of the command to prevent the rescan, and then run it manually after you've imported all your keys. Or just import them to a web or SPV wallet and send all the funds to a fresh address which you can import into a newer bitcoin core. – George – 2015-05-05T19:12:09.120
@ChristopherGurnee yes, it will happen automatically. – Pieter Wuille – 2015-05-05T19:13:39.777
@George importwallet imports all keys at once already, and only rescans the necessary part intelligently. – Pieter Wuille – 2015-05-05T19:14:00.637
@PieterWuille Thanks mate. You're right, the db4.8 is the hard part for a relative Ubuntu newb. I run the node with txindex=1 so no dramas on that front, though I will be sure to use the false flag – Wizard Of Ozzie – 2015-05-06T03:05:49.557
No need to use the false flag, as explained above. And having txindex=1 doesn't help one bit. – Pieter Wuille – 2015-05-06T09:37:37.880
@PieterWuille sorry yes, I read it as importprivkey for some reason! – George – 2015-05-06T20:13:02.617
@PieterWuille George yep I read it that way too initially. Hence txindex and false flag comment. UPDATE: did it! What a great surprise to have. Balances out the 16 btc mtgox redeem code I was saving! – Wizard Of Ozzie – 2015-05-07T15:46:35.380
txindex does not make sense still. It only helps by-txid lookups of historic transactions. It is not used for import or rescan. – Pieter Wuille – 2015-05-07T16:03:48.247