openethereum/ethcore/light/src
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
..
client Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
net Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
on_demand Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
types Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
cache.rs Remove the time dependency where possible (#8100) 2018-03-14 12:29:52 +01:00
cht.rs Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
lib.rs Move ethcore::Error to error_chain (#8386) 2018-04-19 11:52:54 +02:00
provider.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00
transaction_queue.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00