Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

I just created a wallet on blockchain.info by importing my wallet.dat from Bitcoin-QT. My Bitcoin-QT shows a balance of 3.991 BTC, while blockchain.info shows a balance of 3.016.

Where does the difference come from, and which one is 'correct'?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Either one of the factors may affect either balance:

  • There is a double spend against one of your accounts
  • Some transaction might not have yet been included in a block and one program does not see it yet
  • There can be an error in one of the programs that skipped over some transactions. In case of the client, you should try rescanning the blockchain to make sure all data is properly extracted in case you suspect an error

You should make sure your client is fully synchronised and all your transactions have at least one confirmation.

You should generally trust the place where you issue your transactions from to have an accurate balance of your outgoing transactions, and blockchain.info for the information available everywhere else.

share|improve this answer
    
Thanks. How do I 'rescan the blockchain' ? –  Sietse Feb 26 '13 at 8:06
1  
@Sietse - en.bitcoin.it/wiki/Running_Bitcoin - use -rescan –  ThePiachu Feb 26 '13 at 9:52
add comment

As it turns out, the import did not pick up all my addresses/keys. By comparing the output from pywallet --dumpwallet and the blockchain.info exports I was able to identify the missing keys and add them manually. Both balances match now :-)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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