Bitcoin Forum
April 20, 2024, 01:06:43 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Checking balance of unencrypted wallet.dat and combatting trojans  (Read 4499 times)
GCInc. (OP)
Hero Member
*****
Offline Offline

Activity: 566
Merit: 500


View Profile WWW
April 09, 2013, 08:07:19 AM
Last edit: April 09, 2013, 08:23:06 AM by GCInc.
 #1

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?]

1713575203
Hero Member
*
Offline Offline

Posts: 1713575203

View Profile Personal Message (Offline)

Ignore
1713575203
Reply with quote  #2

1713575203
Report to moderator
1713575203
Hero Member
*
Offline Offline

Posts: 1713575203

View Profile Personal Message (Offline)

Ignore
1713575203
Reply with quote  #2

1713575203
Report to moderator
1713575203
Hero Member
*
Offline Offline

Posts: 1713575203

View Profile Personal Message (Offline)

Ignore
1713575203
Reply with quote  #2

1713575203
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
April 09, 2013, 08:56:41 AM
 #2

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.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
GCInc. (OP)
Hero Member
*****
Offline Offline

Activity: 566
Merit: 500


View Profile WWW
April 10, 2013, 09:22:14 PM
 #3

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!