- Mar 18, 2019
-
-
Péter Szilágyi authored
-
- Mar 06, 2019
-
-
Péter Szilágyi 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.
-
- Feb 14, 2019
-
-
Matthew Halpern authored
-
- Feb 07, 2019
-
-
Matthew Halpern authored
-
Matthew Halpern authored
-
- Jan 24, 2019
-
-
Felix Lange authored
This change unbreaks the build and removes racy access to disableCheckFreq. Even though the field is set while holding the lock, it was read outside of the protected section.
-
b00ris authored
For more information about this light client mode, read https://hackmd.io/s/HJy7jjZpm
-
- Jan 11, 2019
-
-
Péter Szilágyi authored
-
- Dec 10, 2018
-
-
Iskander (Alex) Sharipov authored
Most probably a copy/paste kind of error. Found with gocritic `dupArg` checker.
-
- Nov 26, 2018
-
-
Sheldon authored
TryUpdate does not call t.trie.TryUpdate(key, value) and calls t.trie.TryDelete instead. The update operation simply deletes the corresponding entry, though it could retrieve later by odr. However, it adds further network overhead.
-
- Nov 15, 2018
-
-
Péter Szilágyi authored
-
- Oct 08, 2018
-
-
Gary Rong authored
-
- Sep 20, 2018
-
-
Gary Rong authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Aug 28, 2018
-
-
Zsolt Felföldi authored
-
Gary Rong authored
-
- Aug 21, 2018
-
-
Péter Szilágyi authored
-
- Aug 20, 2018
-
-
Zsolt Felföldi authored
-
- Aug 15, 2018
-
-
Zsolt Felföldi authored
This PR enables the indexers to work in light client mode by downloading a part of these tries (the Merkle proofs of the last values of the last known section) in order to be able to add new values and recalculate subsequent hashes. It also adds CHT data to NodeInfo.
-
- Jul 24, 2018
-
-
Sheldon authored
-
- Jul 04, 2018
-
-
Zsolt Felföldi authored
-
- Jul 02, 2018
-
-
Gary Rong authored
-
- Jun 12, 2018
-
-
Zsolt Felföldi authored
-
- Jun 11, 2018
-
-
Zsolt Felföldi authored
-
- Jun 05, 2018
-
-
kiel barry authored
params: fix golint warnings
-
- May 18, 2018
-
-
Péter Szilágyi authored
-
Gary Rong authored
-
- May 14, 2018
-
-
Zsolt Felföldi authored
-
- May 09, 2018
-
-
Gary Rong authored
* all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
-
- May 07, 2018
-
-
Péter Szilágyi authored
-
- Apr 17, 2018
-
-
Zsolt Felföldi authored
-
- Mar 27, 2018
-
-
Zsolt Felföldi authored
-
- Mar 26, 2018
-
-
Felix Lange authored
-
- Mar 07, 2018
-
-
Kyuntae Ethan Kim authored
-
- Mar 02, 2018
-
-
Zsolt Felföldi authored
-
- Feb 26, 2018
-
-
Martin Holst Swende authored
* core: make current*Block atomic, and accessor functions mutex-free * core: fix review concerns * core: fix error in atomic assignment * core/light: implement atomic getter/setter for headerchain
-
- Feb 22, 2018
-
-
Péter Szilágyi authored
-
- Feb 14, 2018
-
-
Felix Lange authored
-