- Nov 12, 2019
-
-
Jaynti Kanani authored
-
- Oct 24, 2019
-
-
Jaynti Kanani authored
-
- Jul 14, 2019
-
-
Jaynti Kanani authored
-
- Jun 21, 2019
-
-
Jaynti Kanani authored
-
- Jun 09, 2019
-
-
Jaynti Kanani authored
-
- Jun 06, 2019
-
-
Nguyen Kien Trung authored
This makes the test work if NetworkId is changed in forks of go-ethereum.
-
- Jun 05, 2019
-
-
Gary Rong authored
-
- May 26, 2019
-
-
Gary Rong authored
* eth, les: reject light client connection is server is not synced * eth, les: rename function and variables * les: format
-
- May 16, 2019
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Gary Rong authored
* core, eth: some fixes for freezer * vendor, core/rawdb, cmd/geth: add db inspector * core, cmd/utils: check ancient store path forceily * cmd/geth, common, core/rawdb: a few fixes * cmd/geth: support windows file rename and fix rename error * core: support ancient plugin * core, cmd: streaming file copy * cmd, consensus, core, tests: keep genesis in leveldb * core: write txlookup during ancient init * core: bump database version
-
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
-
Péter Szilágyi authored
-
- May 15, 2019
-
-
Jaynti Kanani authored
-
- May 13, 2019
-
-
Péter Szilágyi authored
* core, eth, trie: bloom filter for trie node dedup during fast sync * eth/downloader, trie: address review comments * core, ethdb, trie: restart fast-sync bloom construction now and again * eth/downloader: initialize fast sync bloom on startup * eth: reenable eth/62 until we properly remove it
-
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
-
- May 07, 2019
-
-
Péter Szilágyi authored
-
- May 02, 2019
-
-
Martin Holst Swende authored
This change makes getBalance, getCode, getStorageAt, getProof, call, getTransactionCount return an error if the block number in the request doesn't exist. getHeaderByNumber still returns null for missing headers.
-
- Apr 26, 2019
-
-
Péter Szilágyi authored
-
- Apr 25, 2019
-
-
Gary Rong authored
* eth/downloader: enable unsync-protection for light client * eth/downloader: fix tests
-
- Apr 23, 2019
-
-
Gary Rong authored
* cmd, eth, miner: disable advance sealing if user require * cmd, console, miner, les, eth: wrap the miner config * eth: remove todo * cmd, miner: revert noadvance flag The reason for this is: if the transaction execution is even longer than block time, then this kind of transactions is DoS attack.
-
- Apr 17, 2019
-
-
Péter Szilágyi authored
-
- Apr 15, 2019
-
-
Péter Szilágyi authored
-
Matthew Halpern authored
-
- Apr 08, 2019
-
-
Martin Holst Swende authored
* eth, les, geth: implement cli-configurable global gas cap for RPC calls * graphql, ethapi: place gas cap in DoCall * ethapi: reformat log message
-
- Apr 04, 2019
-
-
Gary Rong authored
* cmd, accounts, internal, node, rpc, signer: insecure unlock protect * all: strict unlock API by rpc * cmd/geth: check before printing warning log * accounts, cmd/geth, internal: tiny polishes
-
- Apr 01, 2019
-
-
Péter Szilágyi authored
-
- Mar 27, 2019
-
-
Péter Szilágyi authored
-
Jonas authored
Fixes #19337
-
- Mar 14, 2019
-
-
Péter Szilágyi authored
* cmd, core, eth, trie: get rid of trie cache generations * core, trie: get rid of remainder of cache gen boilerplate
-
Gary Rong authored
-
- Mar 12, 2019
-
-
Martin Holst Swende authored
* core/vm: remove function call for stack validation from evm runloop * core/vm: separate gas calc into static + dynamic * core/vm: optimize push1 * core/vm: reuse pooled bigints for ADDRESS, ORIGIN and CALLER * core/vm: use generic error message for jump/jumpi, to avoid string interpolation * testdata: fix tests for new error message * core/vm: use 64-bit memory calculations * core/vm: fix error in memory calculation * core/vm: address review concerns * core/vm: avoid unnecessary use of big.Int:BitLen()
-
- Mar 07, 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 21, 2019
-
-
Gary Rong authored
* core: remove unnecessary fields in log * core: bump blockchain database version * core, les: remove unnecessary fields in txlookup * eth: print db version explicitly * core/rawdb: drop txlookup entry struct wrapper
-
- Feb 19, 2019
-
-
Matthew Halpern authored
Simplifies the transaction presense check to use a function to determine if the transaction is present in the block provided to trace, which originally had a redundant parenthesis and used a `exist` flag to dictate control flow.
-
HackyMiner authored
This changes default location of the data directory to use the LOCALAPPDATA environment variable, resolving issues with remote home directories an improving compatibility with Cygwin. Fixes #2239 Fixes #2237 Fixes #16437
-
- Feb 18, 2019
-
-
Matthew Halpern authored
-
- Feb 14, 2019
-
-
Matthew Halpern authored
-