openethereum/ethcore/src/client
Andrew Jones 66c0638f3b Don't panic in import_block if invalid rlp (#8522)
* Don't panic in import_block if invalid rlp

* Remove redundant type annotation

* Replace RLP header view usage with safe decoding

Using the view will panic with invalid RLP. Here we use Rlp decoding directly which will return a `Result<_, DecoderError>`. While this path currently should not have any invalid RLP - it makes it safer if ever called with invalid RLP from other code paths.
2018-05-03 09:01:13 +02:00
..
ancient_import.rs Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
chain_notify.rs duration_ns: u64 -> duration: Duration (#8457) 2018-04-27 15:04:27 +02:00
client.rs Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00
config.rs Decouple rocksdb dependency from ethcore (#8320) 2018-04-09 14:21:37 +02:00
error.rs KeyValueDB trait uses errors instead of strings 2017-10-16 12:11:35 +02:00
evm_test_client.rs Additional data in EVMTestClient (#7964) 2018-03-13 12:54:17 +01:00
io_message.rs Private transactions integration pr (#6422) 2018-04-09 16:14:33 +02:00
mod.rs Move ethcore::Error to error_chain (#8386) 2018-04-19 11:52:54 +02:00
private_notify.rs Private transactions integration pr (#6422) 2018-04-09 16:14:33 +02:00
test_client.rs Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
trace.rs removed dummy wrapper structure - LogGroupPosition (#7922) 2018-02-19 10:52:33 +01:00
traits.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00