- Feb 26, 2020
-
-
Gary Rong authored
* les: separate peer into clientPeer and serverPeer * les: address comments
-
- Feb 25, 2020
-
-
Martin Holst Swende authored
This makes eth_call and eth_estimateGas use the zero address as sender when the "from" parameter is not supplied. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Boqin Qin authored
-
- Feb 24, 2020
-
-
Péter Szilágyi authored
eth/fetcher: remove randomness from test data
-
Péter Szilágyi authored
-
- Feb 21, 2020
-
-
Chris Chinchilla authored
-
- Feb 20, 2020
-
-
Gary Rong authored
-
Guillaume Ballet authored
The new goja version supports the 'escape' and 'unescape' built-in functions. This fixes #20693
-
- Feb 18, 2020
-
-
Gregory Markou authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Felix Lange authored
-
Péter Szilágyi authored
params: update CHTs for the v1.9.11 release
-
Péter Szilágyi authored
-
- Feb 17, 2020
-
-
Felix Lange authored
This removes the error added in #20597 in favor of a log message at error level. Failing to start broke a bunch of people's setups and is probably not the right thing to do for this check.
-
Boqin Qin authored
This fixes a bunch of cases where a timeout in the test would leak a goroutine.
-
Felix Lange authored
This adds additional logic to re-resolve the root name of a tree when a couple of leaf requests have failed. We need this change to avoid getting into a failure state where leaf requests keep failing for half an hour when the tree has been updated.
-
Péter Szilágyi authored
eth: don't enforce minimum broadcast, fix broadcast test
-
Felix Lange authored
-
Felix Lange authored
This event was added for the dashboard, but we don't need it anymore since the dashboard is gone.
-
Péter Szilágyi authored
travis, appveyor, build: bump builder Go to 1.13.8
-
Péter Szilágyi authored
-
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>
-