- Feb 17, 2020
-
-
Péter Szilágyi authored
-
- Feb 15, 2020
-
-
Boqin Qin authored
* cmd/faucet: add Rlock to protect f.reqs in apiHandler * cmd/faucet: make a locked copy of f.reqs
-
- Feb 14, 2020
-
-
Martin Holst Swende authored
-
- Feb 13, 2020
-
-
Felix Lange authored
* node: expose config in service context * eth: integrate p2p/dnsdisc * cmd/geth: add some DNS flags * eth: remove DNS URLs * cmd/utils: configure DNS names for testnets * params: update DNS URLs * cmd/geth: configure mainnet DNS * cmd/utils: rename DNS flag and fix flag processing * cmd/utils: remove debug print * node: fix test
-
Péter Szilágyi authored
core, eth: announce based transaction propagation
-
Péter Szilágyi authored
-
Felix Lange authored
* p2p: new dial scheduler This change replaces the peer-to-peer dial scheduler with a new and improved implementation. The new code is better than the previous implementation in two key aspects: - The time between discovery of a node and dialing that node is significantly lower in the new version. The old dialState kept a buffer of nodes and launched a task to refill it whenever the buffer became empty. This worked well with the discovery interface we used to have, but doesn't really work with the new iterator-based discovery API. - Selection of static dial candidates (created by Server.AddPeer or through static-nodes.json) performs much better for large amounts of static peers. Connections to static nodes are now limited like dynanic dials and can no longer overstep MaxPeers or the dial ratio. * p2p/simulations/adapters: adapt to new NodeDialer interface * p2p: re-add check for self in checkDial * p2p: remove peersetCh * p2p: allow static dials when discovery is disabled * p2p: add test for dialScheduler.removeStatic * p2p: remove blank line * p2p: fix documentation of maxDialPeers * p2p: change "ok" to "added" in static node log * p2p: improve dialTask docs Also increase log level for "Can't resolve node" * p2p: ensure dial resolver is truly nil without discovery * p2p: add "looking for peers" log message * p2p: clean up Server.run comments * p2p: fix maxDialedConns for maxpeers < dialRatio Always allocate at least one dial slot unless dialing is disabled using NoDial or MaxPeers == 0. Most importantly, this fixes MaxPeers == 1 to dedicate the sole slot to dialing instead of listening. * p2p: fix RemovePeer to disconnect the peer again Also make RemovePeer synchronous and add a test. * p2p: remove "Connection set up" log message * p2p: clean up connection logging We previously logged outgoing connection failures up to three times. - in SetupConn() as "Setting up connection failed addr=..." - in setupConn() with an error-specific message and "id=... addr=..." - in dial() as "Dial error task=..." This commit ensures a single log message is emitted per failure and adds "id=... addr=... conn=..." everywhere (id= omitted when the ID isn't known yet). Also avoid printing a log message when a static dial fails but can't be resolved because discv4 is disabled. The light client hit this case all the time, increasing the message count to four lines per failed connection. * p2p: document that RemovePeer blocks
-
- Feb 12, 2020
-
-
Boqin Qin authored
-
Boqin Qin authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Marius van der Wijden authored
-
Boqin Qin authored
-
- Feb 11, 2020
-
-
Adam Schmideg authored
Co-authored-by:
ligi <ligi@ligi.de>
-
Felix Lange authored
These methods can be helpful when migrating existing timer code.
-
Gary Rong authored
-
winsvega authored
-
chabashilah authored
-
Adam Schmideg authored
-
- Feb 09, 2020
-
-
AmitBRD authored
The feature update allows the GraphQL API endpoint to retrieve transaction signature R,S,V parameters. Co-authored-by:
amitshah <amitshah0t7@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Nick Ward authored
-
- Feb 07, 2020
-
-
Martin Holst Swende authored
Fixes: #20587, ethereum/web3.py#1572
-
- Feb 05, 2020
-
-
Felix Lange authored
For longer records and subtree entries, the deployer created two separate TXT records. This doesn't work as intended because the client will receive the two records in arbitrary order. The fix is to encode longer values as "string1""string2" instead of "string1", "string2". This encoding creates a single record on AWS Route53.
-
- Feb 04, 2020
-
-
Martin Holst Swende authored
* trie: make hasher parallel when number of changes are large * trie: remove unused field dirtyCount * trie: rename unhashedCount/unhashed
-
meowsbits authored
Adds the 'geth dumpgenesis' command, which writes the configured genesis in JSON format to stdout. This provides a way to generate the data (structure and content) that can then be used with the 'geth init' command.
-
Martin Holst Swende authored
* core/vm/runtime: add test for blockhash * core/evm: less iteration in blockhash * core/vm/runtime: nitpickfix Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
tintin authored
* add regression tests for #20611 * eth/tracers: fix panics occurring for invalid params in js-tracers Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Feb 03, 2020
-
-
Martin Holst Swende authored
* trie: make db insert use size instead of full data * core/state: minor optimization in state onleaf allocation * trie: implement dedicated committer and hasher * trie: use dedicated committer/hasher * trie: linter nitpicks * core/state, trie: avoid unnecessary storage trie load+commit * trie: review feedback, mainly docs + minor changes * trie: start deprecating old hasher * trie: fix misspell+lint * trie: deprecate hasher.go, make proof framework use new hasher * trie: rename pure_committer/hasher to committer/hasher * trie, core/state: fix review concerns * trie: more review concerns * trie: make commit collapse into hashnode, don't touch dirtyness * trie: goimports fixes * trie: remove panics
-
Felix Lange authored
-
- Jan 31, 2020
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
- Jan 30, 2020
-
-
Guillaume Ballet authored
-
- Jan 29, 2020
-
-
Guillaume Ballet authored
* signer: replace otto with goja * go.mod: remove Otto
-
- Jan 28, 2020
-
-
Felix Lange authored
Fixes #20467 Co-authored-by:
meowsbits <45600330+meowsbits@users.noreply.github.com>
-
- Jan 27, 2020
-
-
Zhou Zhiyao authored
This change makes the client attempt to reconnect when a write fails. We already had reconnect support, but the reconnect would previously happen on the next call after an error. Being more eager leads to a smoother experience overall.
-
Guillaume Ballet authored
This replaces the JavaScript interpreter used by the console with goja, which is actively maintained and a lot faster than otto. Clef still uses otto and eth/tracers still uses duktape, so we are currently dependent on three different JS interpreters. We're looking to replace the remaining uses of otto soon though.
-
Guillaume Ballet authored
-
- Jan 23, 2020
-
-
Martin Holst Swende authored
-
Guillaume Ballet authored
-
- Jan 21, 2020
-
-
Martin Holst Swende authored
* abidump: implement abi dump command * cmd/abidump: add license
-
Felix Lange authored
* log: delete RotatingFileHandler We added this for the dashboard, which is gone now. The handler never really worked well and had data race and file handling issues. * internal/debug: remove unused RotatingFileHandler setup code
-
- Jan 20, 2020
-
-
Péter Szilágyi authored
-