openethereum/ethcore/src/verification/queue
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
..
kind.rs Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00
mod.rs Don't panic in import_block if invalid rlp (#8522) 2018-05-03 09:01:13 +02:00