- Apr 28, 2021
-
-
Gautam Botrel authored
Add more cross-fuzzers to fuzz bls with gnark versus geth's own bls12-381 library
-
Gregory Markou authored
This PR makes the gas price oracle ignore transactions priced at `<=1 wei`.
-
Martin Holst Swende authored
-
- Apr 27, 2021
-
-
Péter Szilágyi authored
p2p/tracker: only reschedule wake if previous didn't run
-
Péter Szilágyi authored
-
Péter Szilágyi authored
p2p/tracker: properly clean up fulfilled requests
-
Martin Holst Swende authored
-
Péter Szilágyi authored
* eth/protocols/snap: generate storage trie from full dirty snap data * eth/protocols/snap: get rid of some more dead code * eth/protocols/snap: less frequent logs, also log during trie generation * eth/protocols/snap: implement dirty account range stack-hashing * eth/protocols/snap: don't loop on account trie generation * eth/protocols/snap: fix account format in trie * core, eth, ethdb: glue snap packets together, but not chunks * eth/protocols/snap: print completion log for snap phase * eth/protocols/snap: extended tests * eth/protocols/snap: make testcase pass * eth/protocols/snap: fix account stacktrie commit without defer * ethdb: fix key counts on reset * eth/protocols: fix typos * eth/protocols/snap: make better use of delivered data (#44) * eth/protocols/snap: make better use of delivered data * squashme * eth/protocols/snap: reduce chunking * squashme * eth/protocols/snap: reduce chunking further * eth/protocols/snap: break out hash range calculations * eth/protocols/snap: use sort.Search instead of looping * eth/protocols/snap: prevent crash on storage response with no keys * eth/protocols/snap: nitpicks all around * eth/protocols/snap: clear heal need on 1-chunk storage completion * eth/protocols/snap: fix range chunker, add tests Co-authored-by:
Péter Szilágyi <peterke@gmail.com> * trie: fix test API error * eth/protocols/snap: fix some further liter issues * eth/protocols/snap: fix accidental batch reuse Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
Previously, the makeCallVariantGasCallEIP2929 charged the cold account access cost directly, leading to an incorrect gas cost passed to the tracer from the main execution loop. This change still temporarily charges the cost (to allow for an accurate calculation of the available gas for the call), but then afterwards refunds it and instead returns the correct total gas cost to be then properly charged in the main loop.
-
Felix Lange authored
-
lightclient authored
-
Péter Szilágyi authored
consensus/ethash: less lookups of block data
-
Felix Lange authored
* build: upgrade to golangci-lint v1.39.0 * consensus/ethash: fix go vet warning regarding reflect.SliceHeader * eth/catalyst: fix lint issue * consensus/ethash: fix bug in memoryMapFile
-
Gary Rong authored
* les: polish code * les/vflus/server: fixes * les: fix lint
-
- Apr 26, 2021
-
-
Martin Holst Swende authored
The Append / truncate operations were racy. When a datafile reaches 2Gb, a new file is needed. For this operation, we require a writelock, which is not needed in the 99.99% of all cases where the data does fit in the current head-file. This transition from readlock to writelock was incorrect, and as the readlock was released, a truncate operation could slip in between, and truncate the data. This would have been fine, however, the Append operation continued writing as if no truncation had occurred, e.g writing item 5 where item 0 should reside. This PR changes the behaviour, so that if when we run into the situation that a new file is needed, it aborts, and retries, this time with a writelock. The outcome of the situation described above, running on this PR, would instead be that the Append operation exits with a failure.
-
- Apr 23, 2021
-
-
Nishant Das authored
When receiving PING from an IPv4 address over IPv6, the implementation sent back a IPv4-in-IPv6 address. This change makes it reflect the IPv4 address.
-
rene authored
This adds a test for large tx announcement messages, as well as a test to check that announced tx hashes are requested by the node.
-
Martin Holst Swende authored
* core/state/snapshot: reuse memory data instead of hitting disk when generating * trie: minor nitpicks wrt the resolver optimization * core/state/snapshot, trie: use key/value store for resolver * trie: fix linter Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
rene authored
This change adds a Go unit test that runs the protocol test suite against the go-ethereum implementation of the eth protocol.
-
- Apr 22, 2021
-
-
Péter Szilágyi authored
* eth/protocols, prp/tracker: add support for req/rep rtt tracking * p2p/tracker: sanity cap the number of pending requests * pap/tracker: linter <3 * p2p/tracker: disable entire tracker if no metrics are enabled
-
- Apr 21, 2021
-
-
ryanc414 authored
The new error type is returned by client operations contains details of the response error code and response body. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
This adds support for signing EIP-2930 with clef.
-
Martin Holst Swende authored
This change improves the efficiency of the nodeIterator seek operation. Previously, seek essentially ran the iterator forward until it found the matching node. With this change, it skips over fullnode children and avoids resolving them from the database.
-
Martin Holst Swende authored
-
Gary Rong authored
-
Gary Rong authored
Adds an an optional parameter `overrides *map[common.Address]account` to the `eth_call` API in order for the caller to can customize the state.
-
- Apr 20, 2021
-
-
Martin Holst Swende authored
-
Guillaume Ballet authored
This fixes the OpenBSD/arm64 build.
-
Martin Holst Swende authored
-
Guillaume Ballet authored
-
Gary Rong authored
-
- Apr 19, 2021
-
-
Felix Lange authored
-
Felix Lange authored
The new -limit option makes the filter operate on top N nodes by score. This also adds ENR attribute stats in the nodeset info command. Node set commands are now documented in README.
-
- Apr 18, 2021
-
-
Péter Szilágyi authored
core/state/snapshot: avoid copybytes for stacktrie
-
- Apr 16, 2021
-
-
Guillaume Ballet authored
This change adds the --catalyst flag, enabling an RPC API for eth2 integration. In this initial version, catalyst mode also disables all peer-to-peer networking. Co-authored-by:
Mikhail Kalinin <noblesse.knight@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
-
Martin Holst Swende authored
The stacktrie is a bit un-untuitive, API-wise: since it mutates input values. Such behaviour is dangerous, and easy to get wrong if the calling code 'forgets' this quirk. The behaviour is fixed by this PR, so that the input values are not modified by the stacktrie. Note: just as with the Trie, the stacktrie still references the live input objects, so it's still _not_ safe to mutate the values form the callsite.
-
Zsolt Felföldi authored
* les/vflux/server: fix estimatePriority corner case * les/vflux/server: simplify inactiveAllowance == 0 case
-
Péter Szilágyi authored
eth/protocols/snap: use ephemeral channels to avoid cross-sync delveries
-
Felix Lange authored
* log: fix formatting of big.Int The implementation of formatLogfmtBigInt had two issues: it crashed when the number was actually large enough to hit the big integer case, and modified the big.Int while formatting it. * log: don't call FormatLogfmtInt64 for int16 * log: separate from decimals back, not front Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-