- Feb 25, 2021
-
-
Gary Rong authored
Transaction unindexing will be enabled by default as of 1.10, which causes tx status retrieval will be broken without this PR. This PR introduces a retry mechanism in TxStatus retrieval.
-
Gary Rong authored
This PR adds a more CLI flag, so that the les-server can serve light clients even the local node is not synced yet. This functionality is needed in some testing environments(e.g. hive). After launching the les server, no more blocks will be imported so the node is always marked as "non-synced".
-
Péter Szilágyi authored
eth/protocols/snap: lower abortion and resumption logs to debug
-
Péter Szilágyi authored
-
- Feb 24, 2021
-
-
rene authored
This removes support for all deprecated flags except --rpc*.
-
Péter Szilágyi authored
-
- Feb 23, 2021
-
-
Péter Szilágyi authored
travis: bump builders to Bionic
-
Péter Szilágyi authored
-
Péter Szilágyi authored
travis: bump Android NDK version
-
Péter Szilágyi authored
-
Péter Szilágyi authored
cmd/utils: disable caching preimages by default
-
Péter Szilágyi authored
* travis, appveyor, build: bump Go to 1.16 * accounts/abi/bind: fix up Go mod files for Go 1.16
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Marius van der Wijden authored
This PR prevents users from submitting transactions without EIP-155 enabled. This behaviour can be overridden by specifying the flag --rpc.allow-unprotected-txs=true.
-
Martin Holst Swende authored
This PR introduces: - db.put to put a value into the database - db.get to read a value from the database - db.delete to delete a value from the database - db.stats to check compaction info from the database - db.compact to trigger a db compaction It also moves inspectdb to db.inspect.
-
- Feb 22, 2021
-
-
Gary Rong authored
-
- Feb 20, 2021
-
-
Zsolt Felföldi authored
* les: refactored server handler * tests/fuzzers/les: add fuzzer for les server handler * tests, les: update les fuzzer tests: update les fuzzer tests/fuzzer/les: release resources tests/fuzzer/les: pre-initialize all resources * les: refactored server handler and fuzzer Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
- Feb 19, 2021
-
-
Zsolt Felföldi authored
* les/lespay/server: fix balance expiration and add test * les: move client balances to a new db * les: rename lespayDb to lesDb
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Zsolt Felföldi authored
-
Felix Lange authored
In the random sync algorithm used by the DNS node iterator, we first pick a random tree and then perform one sync action on that tree. This happens in a loop until any node is found. If no trees contain any nodes, the iterator will enter a hot loop spinning at 100% CPU. The fix is complicated. The iterator now checks if a meaningful sync action can be performed on any tree. If there is nothing to do, it waits for the next root record recheck time to arrive and then tries again. Fixes #22306
-
- Feb 18, 2021
-
-
Martin Holst Swende authored
* eth/protocols/eth: split up the eth protocol handlers * eth/protocols/eth: define eth-66 protocol messages * eth/protocols/eth: poc implement getblockheaders on eth/66 * eth/protocols/eth: implement remaining eth-66 handlers * eth/protocols: define handler map for eth 66 * eth/downloader: use protocol constants from eth package * eth/protocols/eth: add ETH66 capability * eth/downloader: tests for eth66 * eth/downloader: fix error in tests * eth/protocols/eth: use eth66 for outgoing requests * eth/protocols/eth: remove unused error type * eth/protocols/eth: define protocol length * eth/protocols/eth: fix pooled tx over eth66 * protocols/eth/handlers: revert behavioural change which caused tests to fail * eth/downloader: fix failing test * eth/protocols/eth: add testcases + fix flaw with header requests * eth/protocols: change comments * eth/protocols/eth: review fixes + fixed flaw in RequestOneHeader * eth/protocols: documentation * eth/protocols/eth: review concerns about types
-
Martin Holst Swende authored
-
Or Neeman authored
io.Reader may return n > 0 and io.EOF at the end of the input stream. readFull did not handle this correctly, looking only at the error. This fixes it to check for n == len(buf) as well.
-
Martin Holst Swende authored
* core/state: copy the snap when copying the state * core/state: deep-copy snap stuff during state Copy
-
- Feb 17, 2021
-
-
Martin Holst Swende authored
This PR optimizes the broadcast loop. Instead of iterating twice through a given set of transactions to weed out which peers have and which do not have a tx, to send/announce transactions, we do it only once.
-
- Feb 16, 2021
-
-
Péter Szilágyi authored
eth: fix snap sync cancellation
-
rene authored
This updates the eth protocol test suite to use the message type definitions of the 'production' protocol implementation in eth/protocols/eth.
-
Péter Szilágyi authored
-
Péter Szilágyi authored
core/state/snapshot: ensure Cap retains a min number of layers
-
Péter Szilágyi authored
-
Péter Szilágyi authored
trie: fix bloom crash on fast sync restart
-
Guillaume Ballet authored
-
Péter Szilágyi authored
-
- Feb 15, 2021
-
-
Alex Mazalov authored
-
Guillaume Ballet authored
Make geth build on FreeBSD, fixes #22309.
-
- Feb 12, 2021
-
-
Zsolt Felföldi authored
-
Péter Szilágyi authored
core: fix temp memory blowup caused by defers holding on to state
-