openethereum/ethcore
Niklas Adolfsson 7fb33796b1 light client : failsafe crate (circuit breaker) (#9790)
* refactor(light) : N/W calls with `circuit breaker`

* fix(nits) : forgot to commit new files

* Add tests and change CLI args

* Address grumbles

* fix(failsafe-rs) : Santize input to prevent panics

* chore(failsafe) : bump failsafe, (parking_lot)

Bump failsafe to v0.3.0 to enable `parking_lot::Mutex` instead
`spin::Mutex`

* Remove `success_rate`

* feat(circuit_breaker logger)

* feat(CLI): separate CLI args request and response

* Fix tests

* Error response provide request kind

When a reponse `times-out` provide the actual request or requests that failed

* Update ethcore/light/src/on_demand/mod.rs

Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>

* Update ethcore/light/src/on_demand/mod.rs

Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>

* fix(grumbles): formatting nit

* fix(grumbles)

* Use second resolution on CLI args
* Use `consecutive failure policy` instead of `timeOverWindow`
* Add a couple of tests for `request_guard`

* fix(request_guard): off-by-one error, update tests
2018-12-05 10:36:53 +01:00
..
benches Clean up existing benchmarks (#9839) 2018-11-06 21:22:44 +08:00
evm Use expect (#9883) 2018-11-09 14:54:23 +03:00
light light client : failsafe crate (circuit breaker) (#9790) 2018-12-05 10:36:53 +01:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Version and notification for private contract wrapper added (#9761) 2018-12-03 19:44:36 +00:00
res Remove tendermint engine support (#9980) 2018-11-29 06:47:11 +08:00
service Improve block and transaction propagation (#9954) 2018-11-28 11:30:05 +01:00
src LenCachingMutex (#9988) 2018-12-04 14:30:52 +00:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync Remove tendermint engine support (#9980) 2018-11-29 06:47:11 +08:00
transaction Allow zero chain id in EIP155 signing process (#9792) 2018-10-26 22:44:02 +08:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
Cargo.toml LenCachingMutex (#9988) 2018-12-04 14:30:52 +00:00