openethereum/ethcore/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
..
account_provider Permission fix (#8441) 2018-04-20 12:22:19 +02:00
blockchain Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
blooms revert removing blooms (#8066) 2018-03-12 20:15:55 +00:00
client Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
engines Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
ethereum ethcore, rpc, machine: refactor block reward application and tracing (#8490) 2018-05-07 12:57:03 +02:00
json_tests Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
miner Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
snapshot Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
spec EIP 145: Bitwise shifting instructions in EVM (#8451) 2018-05-05 10:23:50 +02:00
state Remove State::replace_backend (#8569) 2018-05-09 08:55:01 +02:00
tests Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00
trace Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
verification Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
views Don't block sync when importing old blocks (#8530) 2018-05-09 08:49:34 +02:00
account_db.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
block.rs Fix receipts stripping. (#8414) 2018-04-19 10:25:15 +01:00
builtin.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
cache_manager.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
db.rs Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
encoded.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
error.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
executed.rs Move ethcore::Error to error_chain (#8386) 2018-04-19 11:52:54 +02:00
executive.rs Trace precompiled contracts when the transfer value is not zero (#8486) 2018-05-09 08:48:55 +02:00
externalities.rs Private transactions integration pr (#6422) 2018-04-09 16:14:33 +02:00
factory.rs Kovan WASM fork code (#7849) 2018-02-19 12:27:42 +01:00
header.rs Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
lib.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
machine.rs ethcore, rpc, machine: refactor block reward application and tracing (#8490) 2018-05-07 12:57:03 +02:00
pod_account.rs removed redundant PodAccount::new method (#7928) 2018-02-19 10:58:04 +01:00
pod_state.rs clean up account fmt::Debug (#7983) 2018-02-27 18:37:36 +01:00
state_db.rs Permission fix (#8441) 2018-04-20 12:22:19 +02:00
test_helpers.rs Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
test_helpers_internal.rs Unify and limit rocksdb dependency places (#8371) 2018-04-13 21:14:53 +02:00
tx_filter.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00