Author

Topic: Checking balance of unencrypted wallet.dat and combatting trojans (Read 4517 times)

hero member
Activity: 566
Merit: 500
Alternatively you can encrypt your wallet on the offline computer then import it to an online computer.
Thank you! Encrypting indeed works without a recent blockchain. You've been tipped Smiley

Quote
I recommend you use pywallet to dump your wallet.  Take just the pubkeys and copy them to a USB drive.  You can then check the balances on blockchain.info or blockexplorer.
Checking balances of a hundred accounts! Thanks, I prefer the former method. But pywallet is a handy tool.

Quote
Alternatively import your wallet into Armory https://bitcoinarmory.com/ .  It's designed for this.
Eventually I will have to, or I cannot sleep my nights.
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
I recommend you use pywallet to dump your wallet.  Take just the pubkeys and copy them to a USB drive.  You can then check the balances on blockchain.info or blockexplorer.

Alternatively you can encrypt your wallet on the offline computer then import it to an online computer.

Alternatively import your wallet into Armory https://bitcoinarmory.com/ .  It's designed for this.
hero member
Activity: 566
Merit: 500
I have old wallet.dat files that I cannot bring to my online machine due to fears of being compromised by trojans from mining software.

1.) If I download the latest blockchain with an empty wallet.dat, take my machine offline, and replace wallet.dat with my old one having bitcoins on it, should it show the correct balance?

2.) I already risked a wallet with 7.5 bitcoins on it. I cut connection as soon as I noticed it, noted the only two addresses I had in "Receive" tab (Bitcoin-qt 0.8.1 for Windows), and checked blockchain.info for those two addresses. The final balance of blockchain.info for both addresses shows nearly zero, while in bitcoin-qt with 2 days old blockchain it showed 7.5+ btc. There are no transactions this year for either of the addresses at blockchain.com Is the final balance supposed to show the same balance as bitcoin-qt wallet.dat? Please explain where the obvious discrepancy could arise from.

[EDIT: For part 2. I just read an explanation from Bitcoin Wiki: The situation is made somewhat more confusing because the receiving addresses shown in the UI are not the only keys in your wallet. Each Bitcoin generation is given a new public key, and, more importantly, each sent transaction also sends some number of Bitcoins back to yourself at a new key. Confusing indeed, what a mess. I hope method 1. would be viable for knowing the up-to-date balance securely, anyone objecting?]
Jump to: