openethereum/ethcore/src/verification
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
..
queue Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00
canon_verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
mod.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
noop_verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00
verification.rs Fetching logs by hash in blockchain database (#8463) 2018-05-02 09:40:27 +02:00
verifier.rs `Client` refactoring (#7038) 2018-03-03 18:42:13 +01:00