openethereum/ethcore/sync/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
..
chain Refactoring `ethcore-sync` - Fixing warp-sync barrier (#8543) 2018-05-09 12:05:34 +02:00
light_sync Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
res Private transactions processing error handling (#8431) 2018-04-20 15:45:53 +02:00
tests Refactoring `ethcore-sync` - Fixing warp-sync barrier (#8543) 2018-05-09 12:05:34 +02:00
api.rs Don't block sync when importing old blocks (#8530) 2018-05-09 08:49:34 +02:00
block_sync.rs Don't block sync when importing old blocks (#8530) 2018-05-09 08:49:34 +02:00
blocks.rs Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
lib.rs Don't block sync when importing old blocks (#8530) 2018-05-09 08:49:34 +02:00
private_tx.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
snapshot.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
sync_io.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
transactions_stats.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00