How do i get info from Bitcoin QT 0.7 to Bitcoin QT 0.11?

0

I'm having trouble with Bitcoin QT 0.11 not automatically extracting address info from my Bitcoin QT 0.7. When I try to open my Bitcoin QT wallet it comes up with an error code saying it is to unsafe to continue. How can I get hold of my info from my Bitcoin QT wallet.

kym

Posted 2016-04-10T23:11:28.333

Reputation: 109

What's the exact error message?Nick ODell 2016-04-11T04:15:14.160

Runaway exceptionkym 2016-04-23T05:02:31.537

A fatal error occurred. Bitcoin can no longer continue safely and will quit. EXCEPTION:ST13runtime_error CDB() : can't open database file blkindex.dat, error22 C:\Program files (86)\Bitcoin\bitcoin -qt.exe in runaway exception -@Nick ODellkym 2016-04-23T05:14:29.103

@kym That looks like an error from 0.7, as blkindex is no longer used since 0.8. What happens if you just start the new version?Pieter Wuille 2016-04-24T08:11:06.377

Answers

1

A blkindex.dat error means that the block index has been corrupted or can't be opened. However, the block index is not part of the wallet, and can be deleted without removing the funds in your wallet.

With that in mind, try this:

  1. Open %APPDATA% in file explorer. Do this by pressing Windows + R, then typing %APPDATA%.
  2. Open Roaming\Bitcoin.
  3. Make a new folder in there called 'old block files,' or something similar.
  4. Move every file in that folder except wallet.dat into the old block files folder.
  5. Optionally, delete the 'old block files' folder.
  6. Start Bitcoin 0.11, and your computer will redownload the block chain. This will take a few hours.

Nick ODell

Posted 2016-04-10T23:11:28.333

Reputation: 26 536

0

There are two ways of upgrading from such an old version: either perform the intermediate upgrade steps (0.7 -> 0.8 -> 0.9 -> 0.10 -> 0.11) or export you wallet, clear the bitcoin directory and import the wallet again.

The first option should be pretty straight forward. The second option requires you to use the GUI to export the wallet or the individual private keys, upgrading Bitcoin QT and then importing them.

The JSON-RPC calls dumpprivkey and importprivkey can be performed for each address and will get your addresses into the new version. Be careful to keep a backup copy of the wallet.dat file before clearing the bitcoin directory.

cdecker

Posted 2016-04-10T23:11:28.333

Reputation: 7 878

can't even get into my bitcoin-qt 7 wallet to import!kym 2016-04-23T05:15:23.350

No need for incremental updates. Bitcoin Core's wallet files are backward compatible down to very early versions (0.3.x at least if not older), ignoring potential BDB version compatibilities (which can be bypassed using external bdb conversion tools).Pieter Wuille 2016-04-24T08:13:41.253