Ethereum Parity rapid sync for Ropsten testnet
Technologist and Entrepreneur on an venture to see how Blockchain and AI will switch the world!
June 15, 2017
Ian Monk ter Geth, Parity | June 15, 2017
Switch from Geth to Parity
There shows up to be a bug with Geth syncing with Ropsten testnet on some systems. This wasgoed the case with attempting to sync the total blockchain and also with the -fast flag (including using -cache=512, etc) and despite having a high powered pc with a SSD .
After attempting various workarounds for several days and getting advice on the Geth Gitter channel, I ended up interchanging overheen to Parity for the knot and Geth for the JS Console.
I wish I had done it sooner. Details on the the Parity Wiki make this utterly quick and effortless to set up (15 mins) and it also requires far less disk space. There is also help available on the Parity Gitter channel.
or for the live env
Point your browser to http://localhost:8080/ and work through the steps.
Parity Ethereum client console using web3
After this point, you’ll be able to use the web3 API from with this environment, e.g.:
Uitgang that and create a fresh opstopping called parityNode.js with the following:
You can then begin knot.js using that script and access Parity via web3 instantly:
Example function from ensutils.js:
You can execute functions exposed by the web3 namespace/API. However, some namespaces are not fully open for security reasons. You can resolve this using the following options to commence parity:
$ parity -jsonrpc-apis web3,eth,netwerk,parity,traces,rpc,private -chain ropsten
Then ter your knot.js (stared using parityNode.js from above):
Begin Parity with the -geth option and -force-ui (this permits the browser to interact spil well):
Then ter a fresh terminal commence geth console ter fasten mode:
Note, the keys you use will be managed under Parity which presently reside here for the testnet:
Mining with Parity
Encore’s wiki covers it well. Summary spil goes after:
Pass the -author flag to parity so it knows what account to add the ETH to:
Ter a fresh terminal begin the miner:
You wont see any ETH te your account until the DAG has bot generated. It took approx a day for mij. This postbode tells you how to get Ether on testnet.
Thanks to Tomasz Drwiega for helping with various questions related to Parity. They also have a gitter channel Parity Gitter channel.