- May 16, 2019
-
-
Gary Rong authored
* all: freezer style syncing core, eth, les, light: clean up freezer relative APIs core, eth, les, trie, ethdb, light: clean a bit core, eth, les, light: add unit tests core, light: rewrite setHead function core, eth: fix downloader unit tests core: add receipt chain insertion test core: use constant instead of hardcoding table name core: fix rollback core: fix setHead core/rawdb: remove canonical block first and then iterate side chain core/rawdb, ethdb: add hasAncient interface eth/downloader: calculate ancient limit via cht first core, eth, ethdb: lots of fixes * eth/downloader: print ancient disable log only for fast sync
-
- May 13, 2019
-
-
Zsolt Felföldi authored
* les, light: implement ODR transaction lookup by hash * les: delete useless file * internal/ethapi: always use backend to find transaction * les, eth, internal/ethapi: renamed GetCanonicalTransaction to GetTransaction * light: add canonical header verification to GetTransaction
-
- Apr 17, 2019
-
-
Péter Szilágyi authored
-
- Apr 15, 2019
-
-
Péter Szilágyi authored
-
Matthew Halpern authored
-
- Apr 08, 2019
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Apr 02, 2019
-
-
Martin Holst Swende authored
* all: simplify timestamps to uint64 * tests: update definitions * clef, faucet, mobile: leftover uint64 fixups * ethash: fix tests * graphql: update schema for timestamp * ethash: remove unused variable
-
Péter Szilágyi authored
-
- Mar 26, 2019
-
-
Martin Holst Swende authored
This PR is a more advanced form of the dirty-to-clean cacher (#18995), where we reuse previous database write batches as datasets to uncache, saving a dirty-trie-iteration and a dirty-trie-rlp-reencoding per block.
-
- 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
-