openethereum/rpc/src/v1/impls/light
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
..
eth.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
mod.rs light client RPC dependencies 2017-03-22 21:09:43 +01:00
net.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
parity.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
parity_set.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
trace.rs added a new RPC call trace_replayBlockTransactions (#7366) 2018-01-10 11:34:34 +01:00