- Feb 05, 2021
-
-
Gary Rong authored
This moves the eth config definition into a separate package, eth/ethconfig. Packages eth and les can now import this common package instead of importing eth from les, reducing dependencies. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Apr 02, 2020
-
-
ucwong authored
-
- Sep 17, 2019
-
-
Zsolt Felföldi authored
* les: detailed relative cost metrics * les: filter txpool relative request statistic * les: initialize price factors * les: increased connected bias to lower churn rate * les: fixed clientPool.setLimits * core: do not use mutex in GetAncestor * les: bump factor db version again * les: add metrics * les, light: minor fixes
-
- Aug 21, 2019
-
-
Gary Rong authored
les: handler separation
-
- Jul 22, 2019
-
-
Péter Szilágyi authored
-
- Jul 10, 2019
-
-
Péter Szilágyi authored
-
- Jul 03, 2019
-
-
Gary Rong authored
* les: remove half-finish APIs * les: remove half-finish APIs
-
- May 30, 2019
-
-
Zsolt Felföldi authored
les, les/flowcontrol: implement LES/3
-
- May 13, 2019
-
-
Zsolt Felföldi authored
-
- Apr 08, 2019
-
-
Zsolt Felföldi authored
-
- Feb 26, 2019
-
-
Zsolt Felföldi authored
This change - implements concurrent LES request serving even for a single peer. - replaces the request cost estimation method with a cost table based on benchmarks which gives much more consistent results. Until now the allowed number of light peers was just a guess which probably contributed a lot to the fluctuating quality of available service. Everything related to request cost is implemented in a single object, the 'cost tracker'. It uses a fixed cost table with a global 'correction factor'. Benchmark code is included and can be run at any time to adapt costs to low-level implementation changes. - reimplements flowcontrol.ClientManager in a cleaner and more efficient way, with added capabilities: There is now control over bandwidth, which allows using the flow control parameters for client prioritization. Target utilization over 100 percent is now supported to model concurrent request processing. Total serving bandwidth is reduced during block processing to prevent database contention. - implements an RPC API for the LES servers allowing server operators to assign priority bandwidth to certain clients and change prioritized status even while the client is connected. The new API is meant for cases where server operators charge for LES using an off-protocol mechanism. - adds a unit test for the new client manager. - adds an end-to-end test using the network simulator that tests bandwidth control functions through the new API.
-