- Aug 06, 2020
-
-
timcooijmans authored
-
rene authored
* chaincmd should make config nodes instead of full nodes * add documentation for using makeConfigNode instead of makeFullNode; * add documentation to functions * code style
-
Péter Szilágyi authored
core/vm: avoid map lookups for accessing jumpdest analysis
-
rene authored
* should fix import / export issues related to DB unavailability * document reason for makeConfigNode * fix comment * comment consistency * remove comments * lint
-
- Aug 05, 2020
-
-
rene authored
* eth65 tests linted * remove non-latest eth light tests
-
Robert Zaremba authored
-
Felix Lange authored
This adds a lock around requests because some routers can't handle concurrent requests. Requests are also rate-limited. The Map function request a new mapping exactly when the map timeout occurs instead of 5 minutes earlier. This should prevent duplicate mappings.
-
- Aug 04, 2020
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
Fixes #21403
-
Hao Duan authored
* core: avoid modification of accountSet cache in tx_pool when runReorg, we may copy the dirtyAccounts' accountSet cache to promoteAddrs in which accounts will be promoted, however, if we have reset request at the same time, we may reuse promoteAddrs and modify the cache content which is against the original intention of accountSet cache. So, we need to make a new slice here to avoid modify accountSet cache. * core: fix flatten condition + comment Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Adam Schmideg authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Aug 03, 2020
-
-
Natsu Kagami authored
* Handle hex strings for bytesX types * Add tests for parseBytes * Improve tests * Return nil bytes if error is non-nil * Right-pad instead of left-pad bytes * More tests
-
rene authored
This PR significantly changes the APIs for instantiating Ethereum nodes in a Go program. The new APIs are not backwards-compatible, but we feel that this is made up for by the much simpler way of registering services on node.Node. You can find more information and rationale in the design document: https://gist.github.com/renaynay/5bec2de19fde66f4d04c535fd24f0775. There is also a new feature in Node's Go API: it is now possible to register arbitrary handlers on the user-facing HTTP server. In geth, this facility is used to enable GraphQL. There is a single minor change relevant for geth users in this PR: The GraphQL API is no longer available separately from the JSON-RPC HTTP server. If you want GraphQL, you need to enable it using the ./geth --http --graphql flag combination. The --graphql.port and --graphql.addr flags are no longer available.
-
Natsu Kagami authored
* Do not check for a non-nil ChainId * Add encoding test
-
rene authored
Resolves #20163 Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Jul 31, 2020
-
-
Felix Lange authored
Found by @protolambda
-
- Jul 30, 2020
-
-
Péter Szilágyi authored
core: sort txs at the same gas price by received time
-
- Jul 29, 2020
-
-
meowsbits authored
-
ucwong authored
This replaces the two-stage shutdown scheme with the one we use almost everywhere else: a single quit channel signalling termination. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Julian Y authored
* Disable symbol table and DWARF generation by default. Trimpath if compiling with Go >= 1.13 * Set Go to minimum version 1.13. Revert debug symbol changes.
-
rene authored
* init notes removed some mentions of eth62, bumped protocol err too old to >=63 * remove sanity checks and bump supported protocol version up to 63 * remove 62 tests, still need to add 65 * remove 65 tests
-
Gary Rong authored
-
- Jul 28, 2020
-
-
Robert Zaremba authored
This reduces complexity of some lengthy functions in worker.go, making the code easier to read.
-
Gary Rong authored
* cmd, consensus, eth, les: implement light fetcher * les: address comment * les: address comment * les: address comments * les: check td after delivery * les: add linearExpiredValue for error counter * les: fix import * les: fix dead lock * les: order announces by td * les: encapsulate invalid counter * les: address comment * les: add more checks during the delivery * les: fix log * eth, les: fix lint * eth/fetcher: address comment
-
Péter Szilágyi authored
-
Hendrik Hofstadt authored
-
Gary Rong authored
* cmd, core, eth, light, trie: dump clean cache periodically * eth: update config * trie: minor fix * core, trie: address comments * eth: remove useless * trie: print clean cache dump start too Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
6543 authored
-
- Jul 27, 2020
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Gary Rong authored
-
- Jul 24, 2020
-
-
Péter Szilágyi authored
deps: update uint256 to v1.1.1
-
Martin Holst Swende authored
-
Péter Szilágyi authored
core: fix queued transaction eviction
-
Gary Rong authored
core: address comment
-
villanuevawill authored
Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future. core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced queuedTs proper naming
-
Martin Holst Swende authored
* eth/downloader: refactor downloader + queue downloader, fetcher: throttle-metrics, fetcher filter improvements, standalone resultcache downloader: more accurate deliverytime calculation, less mem overhead in state requests downloader/queue: increase underlying buffer of results, new throttle mechanism eth/downloader: updates to tests eth/downloader: fix up some review concerns eth/downloader/queue: minor fixes eth/downloader: minor fixes after review call eth/downloader: testcases for queue.go eth/downloader: minor change, don't set progress unless progress... eth/downloader: fix flaw which prevented useless peers from being dropped eth/downloader: try to fix tests eth/downloader: verify non-deliveries against advertised remote head eth/downloader: fix flaw with checking closed-status causing hang eth/downloader: hashing avoidance eth/downloader: review concerns + simplify resultcache and queue eth/downloader: add back some locks, address review concerns downloader/queue: fix remaining lock flaw * eth/downloader: nitpick fixes * eth/downloader: remove the *2*3/4 throttling threshold dance * eth/downloader: print correct throttle threshold in stats Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- Jul 23, 2020
-
-
Felix Lange authored
This fixes the iOS framework build by naming the second parameter of the Signer interface method. The name is important because it becomes part of the objc method signature. Fixes #21340
-
Felix Lange authored
-
meowsbits authored
* geth,utils: implement configurable developer account options Prior to this change --dev (developer) mode generated one account with an empty password, irrespective of existing --password and --miner.etherbase options. This change makes --dev mode compatible with these existing flags. --dev mode may now be used in conjunction with --password and --miner.etherbase flags to configure the developer faucet using an existing keystore or in creating a new account. Signed-off-by:
meows <b5c6@protonmail.com> * main: remove key/pass flags from usage developer section These flags are included already in other sections, and it is not desired to duplicate them. They were originally included in this section along with added support for these flags in the developer mode. Signed-off-by:
meows <b5c6@protonmail.com>
-