I have a parity chain spec file that I'm running on several nodes in a private network. I need to run a geth node and connect it to this private network.
How do I use this chain spec file to connect geth to the private network?
keorn's chain spec converter is a usefull tool to convert geth chain specs, but I do not know of any tool working the other way around.
It's best to start with a working set of genesis files and chain specs for both clients. Since this question keeps coming up, I created a working chainspec for both clients:
git clone https://github.com/5chdn/crossclient-chainspec cd crossclient-chainspec
$ geth init --datadir ~/.ethereum/crossclient geth.json $ geth --datadir ~/.ethereum/crossclient --networkid 1337 --port 31333 --rpcport 8538
$ parity --chain parity.json --port 31337 --jsonrpc-port 8539
After months of research, I determined that there is not any way to do this at present. Geth is not configurable enough to accommodate Parity chain spec parameters (unless you are only changing the same parameters that exist in a Geth genesis file).