openethereum/json/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
..
spec [ethash] chainspec validate ecip1017EraRounds non-zero (#11123) 2019-10-17 14:02:41 +02:00
test_helpers Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
bytes.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
hash.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
lib.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
maybe.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
state.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
transaction.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
uint.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
vm.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00