Bitcoin Forum
February 25, 2018, 04:07:16 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Checking balance of unencrypted wallet.dat and combatting trojans  (Read 4360 times)
GCInc.
Hero Member
*****
Offline Offline

Activity: 566
Merit: 500


View Profile WWW
April 09, 2013, 08:07:19 AM
 #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?]

1519531636
Hero Member
*
Offline Offline

Posts: 1519531636

View Profile Personal Message (Offline)

Ignore
1519531636
Reply with quote  #2

1519531636
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1519531636
Hero Member
*
Offline Offline

Posts: 1519531636

View Profile Personal Message (Offline)

Ignore
1519531636
Reply with quote  #2

1519531636
Report to moderator
1519531636
Hero Member
*
Offline Offline

Posts: 1519531636

View Profile Personal Message (Offline)

Ignore
1519531636
Reply with quote  #2

1519531636
Report to moderator
1519531636
Hero Member
*
Offline Offline

Posts: 1519531636

View Profile Personal Message (Offline)

Ignore
1519531636
Reply with quote  #2

1519531636
Report to moderator
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.
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!