- 25 Mar, 2022 2 commits
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
- 24 Mar, 2022 1 commit
-
-
Marius van der Wijden authored
-
- 23 Mar, 2022 3 commits
-
-
Marius van der Wijden authored
-
Martin Holst Swende authored
-
Sina Mahmoodi authored
* cmd,core: add simple legacy receipt converter core/rawdb: use forEach in migrate core/rawdb: batch reads in forEach core/rawdb: make forEach anonymous fn cmd/geth: check for legacy receipts on node startup fix err msg Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> fix log Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> fix some review comments add warning to cmd drop isLegacy fn from migrateTable params add test for windows rename test replacing in windows case * minor fix * sanity check for tail-deletion * add log before moving files around * speed-up hack for mainnet * fix mainnet check, use networkid instead * check mainnet genesis * review fixes * resume previous migration attempt * core/rawdb: lint fix Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 22 Mar, 2022 4 commits
-
-
rjl493456442 authored
* eth/downloader: ignore zero size header batch for importing * core, light: reject empty header batch for importing
-
rjl493456442 authored
* core: store genesis allocation and recommit them if necessary * core: recover predefined genesis allocation if possible
-
ucwong authored
-
rjl493456442 authored
-
- 21 Mar, 2022 1 commit
-
-
Péter Szilágyi authored
* eth/downloader: terminate beacon sync early when linked to local chain * eth/downloader: fix backfiller resume on early beacon termination
-
- 18 Mar, 2022 1 commit
-
-
alvaroahp11 authored
-
- 17 Mar, 2022 2 commits
-
-
Marius van der Wijden authored
-
Marius van der Wijden authored
* core/beacon: eth/catalyst: updated engine api to new version * core: implement exchangeTransitionConfig * core/beacon: prevRandao instead of Random * eth/catalyst: Fix ExchangeTransitionConfig, add test * eth/catalyst: stop external miners on TTD reached * node: implement --authrpc.vhosts flag * core: allow for config override on non-mainnet networks * eth/catalyst: fix peters comments * eth/catalyst: make stop remote sealer more explicit * eth/catalyst: add log output * cmd/utils: rename authrpc.host to authrpc.addr * eth/catalyst: disable the disabling of the miner * eth: core: remove notion of terminal pow block * eth: les: more of peters nitpicks
-
- 16 Mar, 2022 6 commits
-
-
Jonathan Chappelow authored
This updates the no-cgo implementations in the crypto package to use the github.com/btcsuite/btcd/btcec/v2 module instead of the older btcec package that was part of the main github.com/btcsuite/btcd module. name old time/op new time/op delta EcrecoverSignature-32 198µs ± 0% 144µs ± 0% -27.11% VerifySignature-32 177µs ± 0% 128µs ± 0% -27.44% DecompressPubkey-32 20.9µs ± 0% 10.1µs ± 0% -51.51% Use (*ModNScalar).IsOverHalfOrder instead of math/big.Int when checking for malleable signatures.
-
rjl493456442 authored
-
Péter Szilágyi authored
build, Dockerfile: bump Go to 1.18
-
Péter Szilágyi authored
eth/downloader: fix off-by-one error in test causing 50% fails
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- 15 Mar, 2022 6 commits
-
-
Ryan Schneider authored
* cmd, eth: Rename whitelist argument to peer.requiredblocks * eth/ethconfig: document PeerRequiredBlocks better * cmd/utils: rename new flag to --eth.requiredblocks Co-authored-by:
Felix Lange <fjl@twurst.com>
-
ligi authored
prepare #24145
-
Guifel authored
-
ligi authored
-
rjl493456442 authored
* trie: fix memory leak in trie iterator In the trie iterator, live nodes are tracked in a stack while iterating. Popped node states should be explictly set to nil in order to get garbage-collected. * trie: fix empty trie iterator
-
aaronbuchwald authored
-
- 14 Mar, 2022 2 commits
-
-
Péter Szilágyi authored
core/statedb: always clear out access list when setting a new one
-
ucwong authored
-
- 11 Mar, 2022 4 commits
-
-
s7v7nislands authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Péter Szilágyi authored
* eth/downloader: implement beacon sync * eth/downloader: fix a crash if the beacon chain is reduced in length * eth/downloader: fix beacon sync start/stop thrashing data race * eth/downloader: use a non-nil pivot even in degenerate sync requests * eth/downloader: don't touch internal state on beacon Head retrieval * eth/downloader: fix spelling mistakes * eth/downloader: fix some typos * eth: integrate legacy/beacon sync switchover and UX * eth: handle UX wise being stuck on post-merge TTD * core, eth: integrate the beacon client with the beacon sync * eth/catalyst: make some warning messages nicer * eth/downloader: remove Ethereum 1&2 notions in favor of merge * core/beacon, eth: clean up engine API returns a bit * eth/downloader: add skeleton extension tests * eth/catalyst: keep non-kiln spec, handle mining on ttd * eth/downloader: add beacon header retrieval tests * eth: fixed spelling, commented failing tests out * eth/downloader: review fixes * eth/downloader: drop peers failing to deliver beacon headers * core/rawdb: track beacon sync data in db inspect * eth: fix review concerns * internal/web3ext: nit Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
Péter Szilágyi authored
eth/protocols/snap: avoid estimating infinite percentage
-
沉风 authored
-
- 10 Mar, 2022 4 commits
-
-
Sina Mahmoodi authored
This PR adds the `NextBaseFeePerGas` to `Block` and `EffectiveTip` to `Transaction` to make it easier for clients to compute fee history themselves via graphql queries.
-
Martin Holst Swende authored
-
rjl493456442 authored
* core/rawdb, cmd, ethdb, eth: implement freezer tail deletion * core/rawdb: address comments from martin and sina * core/rawdb: fixes cornercase in tail deletion * core/rawdb: separate metadata into a standalone file * core/rawdb: remove unused code * core/rawdb: add random test * core/rawdb: polish code * core/rawdb: fsync meta file before manipulating the index * core/rawdb: fix typo * core/rawdb: address comments
-
rjl493456442 authored
-
- 09 Mar, 2022 3 commits
-
-
Felix Lange authored
The default listening address "localhost" is not sufficient when running geth in Docker.
-
Qian Bin authored
This change speeds up trie hashing and all other activities that require RLP encoding of trie nodes by approximately 20%. The speedup is achieved by avoiding reflection overhead during node encoding. The interface type trie.node now contains a method 'encode' that works with rlp.EncoderBuffer. Management of EncoderBuffers is left to calling code. trie.hasher, which is pooled to avoid allocations, now maintains an EncoderBuffer. This means memory resources related to trie node encoding are tied to the hasher pool. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Justus authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 08 Mar, 2022 1 commit
-
-
Zachinquarantine authored
-