openethereum/ethcore/engines/ethash
Niklas Adolfsson 9c8b7c23d1
[ethash] chainspec validate ecip1017EraRounds non-zero (#11123)
* [ethash]: validate `ecip1017EraRounds` non-zero

When `ecip1017EraRounds` ethash will divide by zero.

This commit ensures that the chainspec deserialization fails and
gives a better error message.

* [ecip1017_eras_block_reward]: document behaviour

* nit

* docs(ethash ecip1071): resolve `TODO`
2019-10-17 14:02:41 +02:00
..
src [ethash] chainspec validate ecip1017EraRounds non-zero (#11123) 2019-10-17 14:02:41 +02:00
Cargo.toml Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00