openethereum/rpc/src/v1/helpers
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
..
accounts.rs rpc -> weak to arc (#5688) 2017-05-28 08:40:36 -04:00
block_import.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
dapps.rs Dapp refresh (#5752) 2017-08-09 19:06:40 +02:00
dispatch.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00
errors.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
fake_sign.rs Extract some parts of miner from ethcore. (#7353) 2018-01-11 17:49:10 +01:00
ipfs.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
light_fetch.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
mod.rs Reserve nonces for signing (#6834) 2017-11-01 11:23:18 +01:00
network_settings.rs Adding CLI options: port shift and unsafe expose. (#5677) 2017-05-23 12:24:32 +02:00
nonce.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
oneshot.rs Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
poll_filter.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
poll_manager.rs eth_uninstallFilter should return false for non-existent filter (#8280) 2018-03-31 11:06:16 +02:00
requests.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
secretstore.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
signer.rs remove re-export of parking_lot in util (#6435) 2017-09-02 20:09:13 +02:00
signing_queue.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
subscribers.rs Logs Pub-Sub (#5705) 2017-06-28 12:21:13 +02:00
subscription_manager.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00