openethereum/ethcore/engines/ethash/src
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
..
lib.rs [ethash] chainspec validate ecip1017EraRounds non-zero (#11123) 2019-10-17 14:02:41 +02:00