ethereum / py-geth

Python wrapping for running Go-Ethereum as a subprocess
MIT License
100 stars 218 forks source link

Configure geth for clique consensus #152

Closed reedsa closed 1 year ago

reedsa commented 1 year ago

What was wrong?

Recent geth versions (>1.12.0) switched to PoS. The ethash consensus algorithm is used by deafult (for now) and has been deprecated. Because of this the network cannot run. As an alternative, clique is offered as a PoA. For more info, check out https://geth.ethereum.org/docs/fundamentals/private-network#clique.

Also suffered from a 'File not found' error but prescribed the GETH_BINARY env var to specify the path to geth.

How was it fixed?

Check that the executable is available and throw an error if not. Added words to the README for rolling your own geth path.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->