2

I bought and transacted BTC in 2013/2014. I had a Bitcoin QT 0.8.5 wallet. I plugged it in and it updated correctly to the latest block. It correctly showed my BTC balance. I made a transaction without enough fees, which has sat unconfirmed for weeks now. I decided to upgrade to the latest Bitcoin Core wallet and so downloaded it, checked the Checksum, and then loaded it. I swapped out the wallet file with my backup of my original wallet. For some reason, it only shows about 1/1000th of my BTC holding. I have got the blockchain completely up to date. There are no other transactions showing, only those I have made. I have gone back to QT 0.8.5 and it still shows the correct balance when the blockchain updates. What am I doing wrong in the latest Core version?

  • try dumpwallet command and then import private keys manually. – Adam Jan 21 '18 at 9:17
  • Thanks. Just to clarify, what is the process? Assume I have my old wallet.dat file in the bitcoin directory. Where to from there? – Bilbo Feb 3 '18 at 5:06
  • Sorry i didn't understand your question – Adam Feb 3 '18 at 5:22
  • Do I go into the latest Bitcoin Core0.15.X and go to Debug Window and type bitcoin-cli dumpprivkey "myaddress" then type bitcoin-cli importprivkey "mykey" – Bilbo Feb 3 '18 at 5:37
  • Exactly, Nothing more. – Adam Feb 3 '18 at 9:58
0

Go to Bitcoin 0.8.5 Console Window and run :

dumpprivkey "myaddress"

Then in bitcoin 0.15.1

 importprivkey "mykey"

if you don't need to unlock your wallet even if it's encrypted since you are using Bitcoin-qt not RPC commands and you've already set your password when you started it.

if you don't want to use bitcoin-qt. go to terminal and run on v.8.5.0:

unlock your wallet if encrypted

(space)bitcoin-cli walletpassphrase "passphrase" timeout

Get private key of any address:

(space)bitcoin-cli dumpprivkey "myaddress"

if your wallet is encrypted run:

(space)bitcoin-cli walletpassphrase "passphrase" timeout

Then go to the latest version and run:

 (space)bitcoin-cli importprivkey "mykey"

The space before the commands is important to the command will never be saved to logs.

  • when I tried this with the space I got an error. When I did it without the result was "null". Is null the correct result or a fail? – Bilbo Feb 7 '18 at 12:36
  • are you on ubuntu? – Adam Feb 7 '18 at 12:37
  • No I am on Windows 10 – Bilbo Feb 7 '18 at 12:56
  • that's why. ignore it or find an alternative. – Adam Feb 7 '18 at 12:57
  • OK so your solution was for Ubuntu? – Bilbo Feb 7 '18 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.