Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: michaelelwan on October 16, 2017, 01:46:14 AM



Title: Bitcoin core showing bitcoin cash balances instead of bitcoins
Post by: michaelelwan on October 16, 2017, 01:46:14 AM
Hey guys,

I have installed bitcoin knots and bitcoin ABC on the same computer and now I cannot access my bitcoin wallet!

I have a backup of it but every time I launch the bitcoin knots, it starts syncing (and stop at certain point)! in addition it is showing my transactions in bitcoin cash instead of bitcoin.. for example it will show that I have sent from my wallet 0.2 bitcoin cash, while this was bitcoin not cash.

Can you please help, these are my hard earned coins!

Thanks


Title: Re: Bitcoin core showing bitcoin cash balances instead of bitcoins
Post by: ICOs on October 16, 2017, 01:56:46 AM
You shouldn't have installed the Bitcoin ABC wallet in the same computer... when it was coded they didn't modify the system data paths, so all the folders still reference the original Bitcoin client folders.


Title: Re: Bitcoin core showing bitcoin cash balances instead of bitcoins
Post by: HCP on October 16, 2017, 02:28:21 AM
Bitcoin ABC has most likely "corrupted" your bitcoin datadir (ie. blocks and chainstate folders etC) by filling it full of Bitcoin Cash data... as the devs were idiots and just configured it to use the same default data paths as Bitcoin Core ::) :-\

Your only real solution at this point is to configure Bitcoin ABC to use a different datadir (start with -datadir="Some/other/path" commandline argument) so that it uses it's own directory for BCH blocks... then backup your wallet.dat's and remove everything from the original datadir and then re-sync your bitcoin client.


Title: Re: Bitcoin core showing bitcoin cash balances instead of bitcoins
Post by: achow101 on October 16, 2017, 02:31:17 AM
Make sure that you have a backup of your wallet from before the fork. Then make another backup of your current wallet file. Now go to the Bitcoin datadir and delete everything inside of it. Copy your wallet backup from before the fork into the datadir. Then start Bitcoin Knots and let it resync the entire blockchain.


Title: Re: Bitcoin core showing bitcoin cash balances instead of bitcoins
Post by: bob123 on October 16, 2017, 06:48:59 PM
To be able to access your Bitcoin and Bitcoin cash you only need your private keys / wallet.dat / recovery seed and 2 wallets (1 for BTC, 1 for BCH).
Now import the private keys into BTC respectively into the BCH client.
Further you should move your funds onto a "seperate address". It is not recomended to have the same private keys for your BTC and BCH.
The best would be to create new BTC/BCH wallets, then send your BTC / BCH to these new created addresses (you can achieve that by importing those priv keys in front of that).