Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Bitcoiner01 on October 25, 2017, 04:10:55 PM



Title: Help find bitcoin in bitcoin core
Post by: Bitcoiner01 on October 25, 2017, 04:10:55 PM
Bitcoin core
Windows
I had prefork bitcoin on bitcoin core. On the same machine I installed bitcoin abc to get the bitcoincash. I didn't know that bitcoinabc overwrites bitcoin core files in same directory.

When I opened bitcoinabc it showed having bitcoin cash same amount as btc I had. So I sent btc cash to different wallet.

Now I have to reinstall bitcoincore and it shows no btc.

Does anyone know how to get btc back to bitcoincore?
Thanks!


Title: Re: Help find bitcoin in bitcoin core
Post by: LoyceV on October 25, 2017, 05:57:05 PM
Bitcoin core
Windows
I had prefork bitcoin on bitcoin core. On the same machine I installed bitcoin abc to get the bitcoincash. I didn't know that bitcoinabc overwrites bitcoin core files in same directory.

When I opened bitcoinabc it showed having bitcoin cash same amount as btc I had. So I sent btc cash to different wallet.

Now I have to reinstall bitcoincore and it shows no btc.

Does anyone know how to get btc back to bitcoincore?
Thanks!
You can check your Bitcoin address at blockchain.info: does it still hold your Bitcoin funds?

Did you make a backup of your wallet.dat file before installing Bitcoin ABC? If so, put back your backup and load Bitcoin Core.

If you don't have a backup, I hope you didn't also delete your Bitcoin ABC, as that wallet now holds your private keys. If you can't restore your original wallet.dat, you can export all private keys (https://bitcoin.stackexchange.com/questions/4203/how-can-i-export-the-private-key-for-an-address-from-the-satoshi-client) from Bitcoin ABC, and import them into your Bitcoin Core wallet.
Be careful when handling private keys: don't screenshot them, don't show them to anybody, and use a clean computer.

I don't trust anything related to Bitcoin Cash, so after running that software on your PC, it's safest to consider it compromised. For starters: it overwrites files that it shouldn't touch, but who knows what else it does (or steals).


Title: Re: Help find bitcoin in bitcoin core
Post by: aleksej996 on October 25, 2017, 08:24:47 PM
I assume your wallet now contains transactions made on Bitcoin Cash network and therefor shows wrong balance. You can start Bitcoin Core with the argument -zapwallettxes and it should delete those transactions. Then start it again with -rescan and it should show the correct balance after it finishes.