Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: make unit tests work with Go 1.13 (#20053) | Felix Lange | 2019-09-11 | 1 | -22/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these changes are related to the Go 1.13 changes to test binary flag handling. * cmd/geth: make attach tests more reliable This makes the test wait for the endpoint to come up by polling it instead of waiting for two seconds. * tests: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * crypto/ecies: remove useless -dump flag in tests * p2p/simulations: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * build: remove workaround for ./... vendor matching This workaround was necessary for Go 1.8. The Go 1.9 release changed the expansion rules to exclude vendored packages. * Makefile: use relative path for GOBIN This makes the "Run ./build/bin/..." line look nicer. * les: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. | ||||
* | les: handler separation (#19639) | gary rong | 2019-08-21 | 1 | -13/+5 |
| | | | les: handler separation | ||||
* | les: implement new client pool (#19745) | Felföldi Zsolt | 2019-08-03 | 1 | -46/+48 |
| | |||||
* | all: update author list and licenses | Péter Szilágyi | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | all: replace fmt.Print* calls with t.Log* in tests (#19670) | 大彬 | 2019-07-17 | 1 | -19/+18 |
| | |||||
* | les, les/flowcontrol: improved request serving and flow control (#18230) | Felföldi Zsolt | 2019-02-26 | 1 | -0/+525 |
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. |