Bitcoin Forum

Bitcoin => Electrum => Topic started by: hashslinger on January 31, 2019, 01:07:44 AM



Title: Is there an Implementation of the Protocol that Runs Both Networks: BTC/BCH?
Post by: hashslinger on January 31, 2019, 01:07:44 AM
I also require that this implementation can communicate with ElectrumX.  I tried Parity, so that I could run bitcoin and bitcoin cash while only having to upgrade one codebase.  However, ElectrumX will not speak to Parity. As I understand it, Parity and bitcoin core use a different database formats.  Hence why ElectrumX rejects Parity's RPC responses with:

Code:
 
Jan 30 05:55:12  electrumx_server[4937]: ERROR:root:task crashed: <Task finished coro=<Controller.serve() done, defined at /usr/local/lib/python3.7/dist-packages/electrumX-1.8.12-py3.7.egg/electrumx
Jan 30 05:55:12  electrumx_server[4937]: Traceback (most recent call last):
Jan 30 05:55:12  electrumx_server[4937]:   File "/home/electrum/.local/lib/python3.7/site-packages/aiorpcx/util.py", line 118, in
.
.
Jan 30 05:55:12  electrumx_server[4937]: ERROR:Daemon:Supplied content type is not allowed. Content-Type: application/json is required

*I use lower case to denote that I am referring to the bitcoin/bitcoin cash networks and not the units of account.