openethereum/ethcore
Nicolas Gotchac 664bb2becd Adjust requests costs for light client (#9925)
* PIP Table Cost relative to average peers instead of max peers

* Add tracing in PIP new_cost_table

* Update stat peer_count

* Use number of leeching peers for Light serve costs

* Fix test::light_params_load_share_depends_on_max_peers (wrong type)

* Remove (now) useless test

* Remove `load_share` from LightParams.Config
Prevent div. by 0

* Add LEECHER_COUNT_FACTOR

* PR Grumble: u64 to u32 for f64 casting

* Prevent u32 overflow for avg_peer_count

* Add tests for LightSync::Statistics
2018-11-21 20:11:01 +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 Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Ignore global cache for patched accounts (#9752) 2018-10-31 15:55:11 +00:00
res foundation: #6692865, ropsten: #4417537, kovan: #9363457 (#9907) 2018-11-13 14:48:23 +01:00
service Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
src Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01: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 Clean up serde rename and use rename_all = camelCase when possible (#9823) 2018-10-29 23:49:04 +08:00
Cargo.toml Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00