Bitcoin Forum
November 13, 2024, 12:02:27 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Help, I think i lost some BTC  (Read 1496 times)
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 06:08:12 PM
 #1

So I had a backup of my wallet file on a USB key. The other day I cashed out of my mining pool so I put a copy of the wallet.dat on the computer and transfered the coins to it, I then left the wallet.dat of my harddrive(didn't back this version up to USB). Fast forward a week and I bought a new harddrive, so I decided to install windows on it and format my old drive.

I did this thinking as long as I had the wallet.dat file on the USB stick that the bitcoin client would catch up on my latest transactions and that there was no need to continuously make backups everytime i send/recieve coins.

So I get everything up and running on my fresh install of windows, copy over the wallet.dat from the usb stick. To my horror the last transation, the cashout from my mining pool is not shown in the transactions window of the bitcoin client  D:

Are my coins gone forever?
memvola
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002


View Profile
August 24, 2011, 06:14:01 PM
 #2

Are my coins gone forever?

Probably not, but the transaction should have appeared there. Try starting bitcoin with the -rescan option.

Next question if the above doesn't work: Did you send the coins to a newly generated address or one that was already on your wallet?
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 06:16:29 PM
 #3

I will try that, it was a new address, its not in this wallet's address book :\
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 06:22:45 PM
 #4

So I tried "C:\Program Files (x86)\Bitcoin\bitcoin.exe" -rescan and nothing different happened.
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 06:48:55 PM
 #5

Is there anything I can do to reclaim my coins? I still have the address that I sent the coins to.
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
August 24, 2011, 06:53:51 PM
 #6

What block has your client downloaded up to?
Dorkslayz
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250



View Profile
August 24, 2011, 06:56:00 PM
Last edit: August 24, 2011, 07:10:38 PM by Dorkslayz
 #7

Mine is up to 142423 if that helps.
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 07:00:52 PM
 #8

Its at 92905 blocks right now, but only showing 3 transactions, there should be 4.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
August 24, 2011, 07:13:47 PM
 #9

I will try that, it was a new address, its not in this wallet's address book :\
If it was a new address you generated after the backup I'm afraid I have bad news for you Sad

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Rick (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 24, 2011, 07:22:41 PM
 #10

awh Sad  I tried Recuva, it recovered the wallet.dat but it was corrupted  Undecided

Thanks anyways guys.
dayfall
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
August 24, 2011, 07:51:30 PM
 #11

I have gotten my private keys from a wallet.dat using a hex editor.  I modified a python script to accept hex formatted keys and let it insert them into a working wallet.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
August 24, 2011, 09:03:52 PM
Last edit: August 24, 2011, 09:45:29 PM by jackjack
 #12

awh Sad  I tried Recuva, it recovered the wallet.dat but it was corrupted  Undecided

Thanks anyways guys.
Keep it
Download Hexedit and open your corrupted wallet.dat
Each "02010104" is followed by 64 characters (ie 32 bytes), which are a private key
Save them all, import them with pywallet and hope the good key was recovered, not likely but it's worth trying


I have gotten my private keys from a wallet.dat using a hex editor.  I modified a python script to accept hex formatted keys and let it insert them into a working wallet.
You modified which tool? Pywallet accept hex keys and I don't know other python scripts

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
dayfall
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
August 24, 2011, 10:18:37 PM
 #13

You modified which tool? Pywallet accept hex keys and I don't know other python scripts

Odd.   Im pretty sure I wrote this code.  I think the python script I got only accepted base58, base64 and binary.

Code:
def privkey_hex_bin(priv_hex):
    # Cut out whitespace
    priv_hex = re.sub("[ \t\n]", "", priv_hex)
    binary_string = ''
    for i in range(0, 279*2, 2):
        binary_string = binary_string + binascii.unhexlify(priv_hex[i]+priv_hex[i+1])
    if len(priv_hex) == (279*2):
        return binary_string
    else:
        raise ValueError("Expected a key of 279*2 digits")
memvola
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002


View Profile
August 25, 2011, 05:01:41 PM
 #14

Its at 92905 blocks right now, but only showing 3 transactions, there should be 4.

Sorry, I don't know if you solved the problem but your above comment indicates that you haven't downloaded the complete blockchain, so it would be expected for the transaction to not show up.

And an additional point: Even if you don't see a receiving address in the GUI, your next 100 addresses are actually stored in your wallet, so you probably already have the private key in your backup wallet.
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 25, 2011, 05:08:50 PM
 #15

awh Sad  I tried Recuva, it recovered the wallet.dat but it was corrupted  Undecided

Thanks anyways guys.


happened to me, dont give up hope


I used fixwallet from bitcoin tools

if that doesnt work you can still get it back manually..i you can see the kyes from the dump, but couldnt rebuild pywallet is great.. if not you can still get some keys back with a hex editor... depending on how many coins are in there and how much effort you want to do.

mooo for rent
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
August 25, 2011, 05:14:17 PM
 #16

Its at 92905 blocks right now, but only showing 3 transactions, there should be 4.
then WAIT!!!

the transaction is not broadcasted anylonger, when its included in a block. just wait for that block to be downloaded.

most problem with bitcoin transactions are sloved by waiting.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 25, 2011, 05:22:44 PM
 #17

Quote
most problem with bitcoin transactions are sloved by waiting.



....



Quote
I will try that, it was a new address, its not in this wallet's address book :\

He can wait until the cows come home....the backups not going to have his new keys.

Did I mention that wallet is a horrible term for wallet.dat when it should be keys.dat.. your coin isnt stored there, your keys are.
You dont have to rebackup every time money changes hands, you do when you make a new key.

mooo for rent
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
August 25, 2011, 05:26:33 PM
 #18

Did I mention that wallet is a horrible term for wallet.dat when it should be keys.dat.. your coin isnt stored there, your keys are.
You dont have to rebackup every time money changes hands, you do when you make a new key.
no.
the wallet contains 100 unused keys. they may be used for change.
its every 100 outgoing transaction you need to backup your wallet, or 100 creates of new addresses.

some how i don't think you much about bitcoin...

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 25, 2011, 05:56:20 PM
 #19

Did I mention that wallet is a horrible term for wallet.dat when it should be keys.dat.. your coin isnt stored there, your keys are.
You dont have to rebackup every time money changes hands, you do when you make a new key.
no.
the wallet contains 100 unused keys. they may be used for change.
its every 100 outgoing transaction you need to backup your wallet, or 100 creates of new addresses.

some how i don't think you much about bitcoin...


are you just a jerk were ever you go?

jackjack said simular above

Quote
If it was a new address you generated after the backup I'm afraid I have bad news for you

you are correct on this one which is amazing, since you were so incorrect in talking about bitparking fees and suggesting they had zero and that doublec probably did need to steal that guys 4.5 coins.

How about follow someone else around and be a jerk to them


mooo for rent
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
August 25, 2011, 06:01:56 PM
 #20

Did I mention that wallet is a horrible term for wallet.dat when it should be keys.dat.. your coin isnt stored there, your keys are.
You dont have to rebackup every time money changes hands, you do when you make a new key.
no.
the wallet contains 100 unused keys. they may be used for change.
its every 100 outgoing transaction you need to backup your wallet, or 100 creates of new addresses.

some how i don't think you much about bitcoin...


are you just a jerk were ever you go?

jackjack said simular above
no but you apparently are. you are talking about things that you don't understand.
go read: https://en.bitcoin.it/wiki/Man_page#Why_must_users_back_up_their_wallets_every_100_actions.3F

the dude only generated 4 addresses, there should be around 96 usable back in the wallet.

no need for panicking, just wait it will solve it self.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
Pages: [1] 2 »  All
  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!