Sent bitcoins to my unencrypted wallet and encrypted the wallet before file synced, is there any way i can get them back?

1

1

Thanks in advance for any light you can shed on my problem..

  1. I think I sent bitcoins from an online wallet to my offline wallet BitcoinQT(0.81) in august.
  2. The transaction has been confirmed, but not redeemed, (due to my offline wallet not being synced i believe)
  3. I encrypted today, before bitcoinqt had completed initial sync.
  4. Now i've just realised that I've probably lost the associated change address in the unencrypted wallet. as the address it was sent to was not the same as the receive address that showed in bitcoinQTfrom the unencrypted wallet.
  5. i have no backup of the unencrypted wallet.dat

Questions:

Q1. Am I correct that i've lost my bitcoins?
Q2. Does bitcoinqt overwrite the wallet.dat file when it encrypts the wallet? or does it create a new copy, such that I may be able to recover the old wallet.dat using recovery sw like testdisk?
Q3. If answer to Q2 is not overwritten, what is the likelihood of being able to retrieve the unencrypted wallet.dat or change addresses considering the bitcoinqt client was syncing/processing blocks for about 20mins before i shutdown?
Q4. Would it be possible to recover the wallet.dat from the app data folder in a system restore (winxp)?

Thanks again,

22/11/2013

Update Q1: Looks likely that i've either sent them to a different wallet - or my blockchain.info account (with 2FA) was hacked. :(
Update Q2: Bitcoinqt does not immediately overwrite the unencrypted wallet.dat after encrypting the file.
Update: Q4: It may have been possible to recover the walllet.app from the app data folder in system restore (but i didn't have this enabled)
Lesson learnt? too early to say, but always keep a backup...

user9054

Posted 2013-11-21T00:44:06.047

Reputation: 11

Why wouldn't the key be in your encrypted wallet?David Schwartz 2013-11-21T04:00:29.960

hey david, thanks for the comment, because it was a private key for a change address?user9054 2013-11-21T23:01:55.973

The (public?) address that the bitcoins currently reside at shows in blockchain explorer is different to the receive address I saw in bitcoinqt with the unencrypted wallet, so i guessed it was a change address (one of the 100 pregenereated that is only kept with my unencrypted wallet, and reset/removed when i encrypted?)user9054 2013-11-21T23:38:54.663

I sent coins from an online wallet to an offline unencrypted wallet, and then encrypted the offline (w/out backup, hence discarded) without either of them having completed initial sync on bitcoinqtuser9054 2013-11-21T23:43:11.327

because the address it was sent to wasn't the same as the receive address on bitcoinqt?user9054 2013-11-21T23:46:25.243

Didn't you pick the address to send it to when you requested the send from the online wallet? Where did you get that address from?David Schwartz 2013-11-21T23:50:57.203

I can't remember.. I can remember wanting to put it in cold storage, but i don't remember the actual transaction. it's not been spent though?user9054 2013-11-21T23:54:57.947

The public address where the bitcoins currently are is not in the encrypted wallet, but I think it would be in the unencrypted wallet, can i use the transaction log to find it?user9054 2013-11-22T00:57:28.363

*(10mb transaction log) /rebuild it using the dbprintlog (works) or dbrecover (failed)?user9054 2013-11-22T01:05:58.457

No answers