Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: dogesaurus on February 15, 2021, 03:07:50 PM



Title: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: dogesaurus on February 15, 2021, 03:07:50 PM
Tricky problem here

I bought bitcoin a couple of years back and moved them to a bitcoin core.

Some time ago I was selling my laptop (disk was formatted and nuked) and I downloaded bitcoin core on my pc and transferred wallet file on it.
Everything was fine and my balance was showing correctly on a pc etc.

But some time ago I opened it just to sync blockchain up to date and its all weird
Its as if somehow there is completly different wallet file? Transaction are all strange.

https://gyazo.com/412c2d8dac949dcdb338c0d57ce76d64

First 8 top transactions i think are mine (i checked date and time, it matches) but rest are not mine.
Why does it show then as 0.00000000 and doesnt tell addresses, only n/a instead?


I have checked my original bitcoin address on blockchain and all my coins are still there!


I tried listaddressgroupings command and it shows all of balances as 0
Also dumpprivkey *my original wallet pub key* didnt work.

I dont have any backups either.


Is there a way for me to ever get my coins back?


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: LoyceV on February 15, 2021, 03:21:36 PM
Address 1EFpqd9uFGhbjQGPwJMwwbmJpqmDw5YbNK never received Bitcoin (https://www.blockchain.com/btc/address/1EFpqd9uFGhbjQGPwJMwwbmJpqmDw5YbNK).
Judging by the amounts in the screenshot: is it possible this wallet.dat belongs to an altcoin?


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: dogesaurus on February 15, 2021, 03:25:47 PM
Address 1EFpqd9uFGhbjQGPwJMwwbmJpqmDw5YbNK never received Bitcoin (https://www.blockchain.com/btc/address/1EFpqd9uFGhbjQGPwJMwwbmJpqmDw5YbNK).
Judging by the amounts in the screenshot: is it possible this wallet.dat belongs to an altcoin?

I do have a few altcoin wallet files saved on a pc but it did work properly on this same pc without any changes after. Also that might not explain why top 8 transactions are still there even tho they are "correct" according to date and time (i might be wrong, im far from expert).


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: HCP on February 15, 2021, 09:46:02 PM
Make a copy of the wallet.dat... then open the copy using a text editor (for windows, I'd recommend you get Notepad++ (https://notepad-plus-plus.org/), the windows notepad is terrible)... then do a search for: name

You should find several results, and immediately after "name" you should see what looks like a cryptocurrency address... what letter do the addresses start with? ??? If it isn't a "1"[1], then you've got an altcoin wallet.

In this example, you can see they start with a "D"... it's a Dogecoin wallet.dat:
https://talkimg.com/images/2023/11/15/zsUvg.png



[1] - theoretically could also be a "3" or "bc1"


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: nc50lc on February 16, 2021, 05:41:16 AM
Your wallet is a "Dogecoin Core" wallet.dat for Dogecoin based from your screenshot.

Here's why: The address 1EFpqd9uFGhbjQGPwJMwwbmJpqmDw5YbNK is the same as DJPvNt6YYgbtGQSzftMWVMvuhyVXEoTA79 when derived as dogecoin address.
and the transactions' amounts are similar to its transactions when viewed in a blockexplorer: /dogecoin/address/DJPvNt6YYgbtGQSzftMWVMvuhyVXEoTA79 (https://blockchair.com/dogecoin/address/DJPvNt6YYgbtGQSzftMWVMvuhyVXEoTA79?_search=header&_type=address)

Bitcoin core automatically displayed the data from the wallet.dat in the GUI as "Bitcoin" even if it's for an altcoin, although everything wont be verified, obviously.

If you're interested in the "conversion", both address has the same HASH160 of 9167645f9b01580292d21c1a8fa7f1b235cfdac0.
What differ are the prefix of 0x00 for Bitcoin & 0x1E for Dogecoin, and the 4-Bytes checksum.


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: LoyceV on February 16, 2021, 06:06:41 AM
Your wallet is a "Dogecoin Core" wallet.dat for Dogecoin based from your screenshot.
It's almost as if he knew this when he picked his username.


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: dogesaurus on February 16, 2021, 07:21:18 AM
Seems like you guys are right. I checked with notepad++ and Ive found 3 results with search "name" and 2 of them started with D and one with bc1

Your wallet is a "Dogecoin Core" wallet.dat for Dogecoin based from your screenshot.
It's almost as if he knew this when he picked his username.

And yeah, my username got a start from dogecoin launch back in the days.

Im just wondering how did those wallets mix up there ???
I have a few dogecoin wallets saved but the pc but Im quite sure that I have not used them anywhere near btc files.
Is there a software that could search older versions of a file or deleted ones? I guess my only chance is to try all of the ones that I can find with a software.


Title: Re: Bitcoin core balance lost - as if there is somehow different wallet file?
Post by: nc50lc on February 16, 2021, 07:27:55 AM
-snip-
Is there a software that could search older versions of a file or deleted ones? I guess my only chance is to try all of the ones that I can find with a software.
The keyword for those software is "Data recovery software" in case you need to search for one online.
I haven't used and can't vouch for any of the 'search results' list.