openethereum/ethcore/light/src
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
..
client aura: finalize blocks (#9692) 2018-10-25 17:33:41 +02:00
net Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01:00
on_demand Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
cache.rs Tests modification for windows CI (#9671) 2018-10-31 11:50:38 +01:00
cht.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
lib.rs Better support for eth_getLogs in light mode (#9186) 2018-08-25 23:06:01 +02:00
provider.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
transaction_queue.rs Light clippy(fy) (#9473) 2018-09-06 15:44:40 +02:00