openethereum/ethcore/src/verification
David 842b75c0e6 Decoding headers can fail (#8570)
* rlp::decode returns Result

* Fix journaldb to handle rlp::decode Result

* Fix ethcore to work with rlp::decode returning Result

* Light client handles rlp::decode returning Result

* Fix tests in rlp_derive

* Fix tests

* Cleanup

* cleanup

* Allow panic rather than breaking out of iterator

* Let decoding failures when reading from disk blow up

* syntax

* Fix the trivial grumbles

* Fix failing tests

* Make Account::from_rlp return Result

* Syntx, sigh

* Temp-fix for decoding failures

* Header::decode returns Result

Handle new return type throughout the code base.

* Do not continue reading from the DB when a value could not be read

* Fix tests

* Handle header decoding in light_sync

* Handling header decoding errors

* Let the DecodeError bubble up unchanged

* Remove redundant error conversion
2018-05-09 12:05:56 +02:00
..
queue Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00
canon_verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
mod.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
noop_verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
verification.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00