Péter Szilágyi
3a79a99f80
Merge pull request #26599 from karalabe/mobile-nuke
...
accounts, build, mobile: remove Android and iOS support
2023-02-03 12:52:10 +02:00
Péter Szilágyi
d9699c8238
accounts, build, mobile: remove Andriod and iOS support
2023-02-03 12:29:07 +02:00
Péter Szilágyi
5d8bff1d72
Merge pull request #26581 from holiman/nuke_puppet
...
cmd/puppeth: remove puppeth
2023-02-02 10:00:23 +02:00
Péter Szilágyi
452a12aa79
eth/downloader: move the pivot in beacon sync mode too ( #26453 )
...
In legacy (pre-merge) sync mode, headers were contiguously downloaded from the network and when no more headers were available, we checked every few seconds whether there are 64 new blocks to move the pivot.
In beacon (post-merge) sync mode, we don't need to check for new skeleton headers non stop, since those re delivered one by one by the engine API. The missing code snippet from the header fetcher was to actually look at the latest head and move the pivot if it was more than 2*64-8 away. This PR adds the missing movement logic.
2023-01-10 12:16:54 -05:00
Péter Szilágyi
43692c84d1
Merge pull request #26451 from rjl493456442/fix-beacon-sync-2
...
eth/downloader: fix unexpected skeleton header deletion
2023-01-09 12:55:51 +02:00
Péter Szilágyi
71f7988b0f
eth/downloader: create repro testcase for beacon header loss
2023-01-09 12:12:25 +02:00
Péter Szilágyi
2189773093
Merge pull request #25878 from MariusVanDerWijden/shanghai-by-time
...
params: core: enable shanghai based on timestamps
2023-01-06 16:10:12 +02:00
Péter Szilágyi
b56c796220
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2023-01-06 15:29:58 +02:00
Péter Szilágyi
fcf3d00488
eth, les: polish forkid a bit, fix races and transition validation
2023-01-06 15:29:57 +02:00
Péter Szilágyi
d021157820
core, les, light: implement timestamp based sethead and genesis rewinds
2023-01-03 12:57:07 +02:00
Péter Szilágyi
08481028fe
core, les, params: add timestamp based fork compatibility checks
2023-01-03 12:57:06 +02:00
Péter Szilágyi
7496ad8edc
Merge pull request #26049 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.19.2
2022-10-27 11:01:12 +03:00
Péter Szilágyi and Martin Holst Swende
c4a662176e
core, eth: for types with accurate size calcs, return uint64, not float ( #26046 )
...
* core, eth: for types with accurate size calcs, return uint64, not float
* core/types: proper tx size tests
* core/types: extend tx size test with decoded sizes, fix error
* core/txpool: fix linter
Co-authored-by: Martin Holst Swende <martin@swende.se >
2022-10-26 15:23:07 +03:00
Péter Szilágyi
5bed24dd77
Merge pull request #26044 from karalabe/rename-typed-tx-files
...
core/types: rename tx files to group them better together
2022-10-26 13:51:46 +03:00
Péter Szilágyi
68ba845bb5
core/types: rename tx files to group them better together
2022-10-26 13:30:51 +03:00
Péter Szilágyi
a2b7481b78
Merge pull request #26038 from karalabe/split-txpool
...
all: refactor txpool into it's own package in prep for 4844
2022-10-24 20:30:33 +03:00
Péter Szilágyi
a6dda03644
all: refactor txpool into it's own package in prep for 4844
2022-10-24 16:35:53 +03:00
Péter Szilágyi
4f7a425aa8
Merge pull request #25924 from holiman/comments_fix
...
all: fix docstrings
2022-10-04 13:30:00 +03:00
Péter Szilágyi
18a001fa3e
Merge pull request #25831 from karalabe/fix-challenge-stop-hang
...
eth: fix a rare datarace on CHT challenge reply / shutdown
2022-09-20 15:30:15 +03:00
Péter Szilágyi
d728ba97d8
eth: fix a rare datarace on CHT challenge reply / shutdown
2022-09-20 14:14:24 +03:00
Péter Szilágyi and Martin Holst Swende
de8d5fa042
eth/protocols/snap: throttle trie heal requests when peers DoS us ( #25666 )
...
* eth/protocols/snap: throttle trie heal requests when peers DoS us
* eth/protocols/snap: lower heal throttle log to debug
Co-authored-by: Martin Holst Swende <martin@swende.se >
* eth/protocols/snap: fix comment
Co-authored-by: Martin Holst Swende <martin@swende.se >
2022-09-09 11:42:57 +03:00
Péter Szilágyi
d408cb6fba
Merge pull request #25694 from karalabe/concurrent-heal-check
...
trie: check childrens' existence concurrently for snap heal
2022-09-06 15:49:13 +03:00
Péter Szilágyi
a9ec2ab2e6
trie: check childrens' existence concurrently for snap heal
2022-09-06 12:57:03 +03:00
Péter Szilágyi
511bf8f188
Merge pull request #25651 from holiman/fix_snapqueue
...
eth/protocols/snap: fix problems due to idle-but-busy peers
2022-09-01 12:38:34 +03:00
Péter Szilágyi
57896d6fbe
params: begin v1.10.24 release cycle
2022-08-24 12:11:17 +03:00
Péter Szilágyi
d901d85377
params: release Geth v1.10.23
2022-08-24 12:09:02 +03:00
Péter Szilágyi
4c114af502
Merge pull request #25582 from holiman/err_handling
...
consensus/beacon: don't ignore errors
2022-08-23 22:26:33 +03:00
Péter Szilágyi
9ed10b9e48
Merge pull request #25581 from karalabe/triedb-fix-flush-order
...
core/state, trie: fix trie flush order for proper pruning
2022-08-23 22:13:33 +03:00
Péter Szilágyi
5758d1fb11
core/state, trie: fix trie flush order for proper pruning
2022-08-23 21:17:12 +03:00
Péter Szilágyi
81bd998353
core, eth/downloader: handle spurious junk bodies from racey rollbacks ( #25578 )
...
* eth/downloader: handle junkbodies/receipts in the beacon sync
* core: check for header presence when checking for blocks
2022-08-23 14:02:51 +03:00
Péter Szilágyi and Felix Lange
395f3d4bf6
eth/catalyst: warn less frequently if no beacon client is available ( #25569 )
...
* eth/catalyst: warn less frequently if no beacon client is available
* eth/catalyst: tweak warning frequency a bit
* eth/catalyst: some more tweaks
* Update api.go
Co-authored-by: Felix Lange <fjl@twurst.com >
2022-08-22 11:27:39 +03:00
Péter Szilágyi
02418c2fa9
Revert "eth/fetcher: don't spend too much time on transaction inclusion" ( #25567 )
...
Revert "eth/fetcher: don't spend too much time on transaction inclusion (#25524 )"
This reverts commit 0ce494b60c .
2022-08-22 10:14:56 +03:00
Péter Szilágyi
c4cd632f47
Merge pull request #25506 from ycyraum/apply-transaction-no-bc
...
core: remove unused bc ChainContext in applyTransaction
2022-08-10 11:02:22 +03:00
Péter Szilágyi
c7ce74a53a
Merge pull request #25461 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.18.5
2022-08-02 10:23:24 +03:00
Péter Szilágyi
6fd06ab075
cmd, core, eth, les, params: add merge-passed chain config ( #24538 )
...
* cmd, core, eth, les, params: add merge-passed chain config
* eth/catalyst, params: add various warning on malfunctioning beacons
* eth/catalyst: fix warning for beacons without transition exchanges
2022-08-01 15:13:25 +03:00
Péter Szilágyi
c02b0488fb
Merge pull request #25428 from karalabe/engineapi-snap-import-deny
...
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
2022-07-28 08:50:42 +03:00
Péter Szilágyi
ad7106dfc4
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
2022-07-28 08:46:13 +03:00
Péter Szilágyi
f543e6b065
Merge pull request #25371 from Zachinquarantine/mergeconfig-message
...
params: change Merge config to print simpler message
2022-07-25 17:50:29 +03:00
f3af3fd8df
eth: support bubbling up bad blocks from sync to the engine API ( #25190 )
...
* eth: support bubbling up bad blocks from sync to the engine API
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de >
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de >
* Update eth/catalyst/api.go
* eth/catalyst: when forgetting bad hashes, also forget descendants
* eth/catalyst: minor bad block tweaks for resilience
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de >
Co-authored-by: Martin Holst Swende <martin@swende.se >
2022-07-25 16:51:04 +03:00
Péter Szilágyi
2b6a761238
Merge pull request #25397 from karalabe/fix-tracer-capitalization
...
eth/tracers/js: fix capitalization in tests
2022-07-25 16:50:40 +03:00
Péter Szilágyi
eb2b8cb4fd
eth/tracers/js: fix capitalization in tests
2022-07-25 16:49:16 +03:00
Péter Szilágyi
6da1fce265
Merge pull request #25379 from holiman/leveldb_update
...
deps: update goleveldb
2022-07-25 09:01:01 +03:00
Péter Szilágyi
b53d38246e
Merge pull request #25096 from lightclient/remove-version-field
...
all: remove version field
2022-07-14 12:13:59 +03:00
Péter Szilágyi
e108d36575
Merge pull request #25293 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.18.4
2022-07-14 10:30:53 +03:00
Péter Szilágyi
d740d6e741
Merge pull request #25290 from karalabe/tar-archive-folder-time
...
internal/build: add a timestamp to the tar archive folder
2022-07-12 14:39:05 +03:00
Péter Szilágyi
68cd0cda4a
internal/build: add a timestamp to the tar archive folder
2022-07-12 14:35:35 +03:00
Péter Szilágyi
48da9d5513
Merge pull request #25288 from karalabe/enable-sepolia-dnsdisc
...
params: enable DNS discovery on Sepolia too
2022-07-12 14:09:42 +03:00
Péter Szilágyi
e66a538a36
params: enable DNS discovery on Sepolia too
2022-07-12 14:06:23 +03:00
Péter Szilágyi
714fb302a5
Merge pull request #25247 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.18.3
2022-07-11 10:33:12 +03:00
Péter Szilágyi and Marius van der Wijden
de1cecb22e
eth/catalyst: disallow importing blocks via newPayload during snap sync ( #25210 )
...
* eth/catalyst: disallow importing blocks via newPayload during snap sync
* eth/catalyst: make tests pass by using full sync only
* eth/catalysts: make the import delay a bit cleaner
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de >
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de >
2022-07-01 14:38:26 +03:00
Péter Szilágyi
692bfd1bf8
Merge pull request #25206 from dbadoy/master
...
common/prque: fix typo
2022-06-30 09:23:34 +03:00
Péter Szilágyi
67454df08b
params: begin v1.10.20 release cycle
2022-06-15 15:56:01 +03:00
Péter Szilágyi
23bee16208
params: release Geth v1.10.19
2022-06-15 15:49:45 +03:00
Péter Szilágyi
c4dab8ceca
Merge pull request #25044 from karalabe/rpc-histograms
...
rpc: swap out timer metrics to histograms
2022-06-08 16:34:43 +03:00
Péter Szilágyi
106a162b7c
rpc: swap out timer metrics to histograms
2022-06-08 16:24:33 +03:00
Péter Szilágyi
41e75480df
eth, les, params: log chain config a bit saner ( #24904 )
...
Previously on Geth startup we just logged the chain config is a semi-json-y format. Whilst that worked while we had a handful of hard-forks defined, currently it's kind of unwieldy.
This PR converts that original data dump and converts it into a user friendly - alas multiline - log output.
2022-06-07 12:49:07 +02:00
Péter Szilágyi
6cc4cc68c2
Merge pull request #24945 from karalabe/cht-1.10.18
...
params: update CHTs for Geth 1.10.18
2022-05-24 17:11:14 +03:00
Péter Szilágyi
e31ff1f33c
params: update CHTs for Geth 1.10.18
2022-05-24 16:20:43 +03:00
Péter Szilágyi
64d6c787b3
Merge pull request #24867 from holiman/no_preop_memexpand
...
core/vm: for tracing, do not report post-op memory
2022-05-24 11:53:11 +03:00
Péter Szilágyi
94c8de0217
Merge pull request #24936 from holiman/no_compilers
...
common/compiler, cmd/abigen: remove solc/vyper compiler integration
2022-05-24 10:50:47 +03:00
Péter Szilágyi
7aced8114f
Merge pull request #24915 from karalabe/catalyst-custom-errors
...
core, eth, les, rpc: polish catalyst errors, add context
2022-05-20 12:50:56 +03:00
Péter Szilágyi
34bda5eae3
core, eth, les, rpc: polish catalyst errors, add context
2022-05-20 12:15:54 +03:00
Péter Szilágyi
a35a5cad22
Merge pull request #24908 from zhaochonghe/master
...
core: fix the order of address in queue
2022-05-19 11:27:29 +03:00
Péter Szilágyi
7bcbbbf836
Merge pull request #24905 from holiman/fix_has
...
ethdb/remotedb: fix flawed check in Has/HasAncient
2022-05-19 08:25:34 +03:00
Péter Szilágyi
5c5ef6f16e
Merge pull request #24901 from karalabe/fix-linter
...
params: fix broken linter
2022-05-18 18:00:28 +03:00
Péter Szilágyi
975dee2593
params: fix broken linter
2022-05-18 17:58:59 +03:00
Péter Szilágyi
fcbc05ccb6
Merge pull request #24884 from karalabe/deprecate-rinkeby
...
cmd/utils: add deprecation warning for Rinkeby
2022-05-16 11:10:55 +03:00
Péter Szilágyi
0a55b9731c
cmd/utils: add deprecation warning for Rinkeby
2022-05-16 08:29:38 +03:00
Péter Szilágyi
992151fa6d
Merge pull request #24817 from karalabe/fix-PC-regression
...
cmd, eth: fix required blocks regression
2022-05-05 10:02:41 +03:00
Péter Szilágyi
ecae8e4f65
cmd, eth: fix required blocks regression
2022-05-04 19:55:17 +03:00
Péter Szilágyi
0a9e384cd5
Merge pull request #24813 from holiman/jammy
...
build: ppa build for jammy (ubuntu 22.04)
2022-05-04 18:22:37 +03:00
Péter Szilágyi
86216189a5
eth/downloader: remove stale beacon headers as backfilling progresses ( #24670 )
...
* eth/downloader: remove stale beacon headers as backfilling progresses
* eth/downloader: remove leftover from a previous design
* eth/downloader: do partial beacon cleanups if chain is large
* eth/downloader: linter != heart
2022-04-13 20:31:08 +03:00
Péter Szilágyi
9fd8825d5a
Merge pull request #24659 from karalabe/snapshot-remove-noo
...
core/state/snapshot: remove noop map item assignment
2022-04-07 12:58:44 +03:00
Péter Szilágyi
f6891ba40d
core/state/snapshot: remove noop map item assignment
2022-04-07 09:36:44 +03:00
Péter Szilágyi
111a1b73cf
Merge pull request #24652 from karalabe/block-fetcher-timeouts
...
eth/fetcher: if peers never respond, drop them
2022-04-06 10:43:18 +03:00
Péter Szilágyi
7e2bbb9cbb
eth/fetcher: if peers never respond, drop them
2022-04-06 10:18:57 +03:00
Péter Szilágyi
1027cb52c4
Merge pull request #24605 from karalabe/revert-setting-ttd
...
core: set ttd override on all chain variations
2022-03-29 11:39:45 +03:00
Péter Szilágyi
b45d82e94a
core: set ttd override on all chain variations
2022-03-29 11:03:01 +03:00
Péter Szilágyi
51de2bc9dc
eth/downloader: terminate beacon sync early when linked to local chain ( #24550 )
...
* eth/downloader: terminate beacon sync early when linked to local chain
* eth/downloader: fix backfiller resume on early beacon termination
2022-03-21 10:43:54 +02:00
Péter Szilágyi
8d99fedeae
Merge pull request #24544 from karalabe/go-1.18
...
build, Dockerfile: bump Go to 1.18
2022-03-16 09:01:45 +02:00
Péter Szilágyi
2352c72229
Merge pull request #24545 from karalabe/beacon-sync-fix-test
...
eth/downloader: fix off-by-one error in test causing 50% fails
2022-03-16 09:01:04 +02:00
Péter Szilágyi
6b8718c374
eth/downloader: fix off-by-one error in test causing 50% fails
2022-03-16 08:57:00 +02:00
Péter Szilágyi
be7eb8ae17
build, Dockerfile: bump Go to 1.18
2022-03-16 08:27:16 +02:00
Péter Szilágyi
70da74e73a
Merge pull request #24515 from karalabe/pending-statedb-accesslist-init
...
core/statedb: always clear out access list when setting a new one
2022-03-14 10:51:32 +02:00
Péter Szilágyi and Marius van der Wijden
8f66ea3786
eth/downloader: implement beacon sync ( #23982 )
...
* 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 >
2022-03-11 14:14:45 +02:00
Péter Szilágyi
1b58e42802
Merge pull request #24529 from holiman/fix_inf
...
eth/protocols/snap: avoid estimating infinite percentage
2022-03-11 10:40:55 +02:00
Péter Szilágyi
48605b5f61
core/statedb: always clear out access list when setting a new one
2022-03-08 12:00:29 +02:00
Péter Szilágyi
fc8ad1b70d
Merge pull request #24391 from rjl493456442/trie-iterator
...
trie: implement NodeBlob API for trie iterator
2022-02-15 15:35:47 +02:00
Péter Szilágyi
1a7e345af4
Merge pull request #24328 from karalabe/uke-catalyst
...
cmd: auto-enable beacon APIs if TTD is defined
2022-02-02 18:15:38 +02:00
Péter Szilágyi
d99e759e76
cmd: auto-enable beacon APIs if TTD is defined
2022-02-02 17:57:34 +02:00
Péter Szilágyi
78f13a3a57
Merge pull request #24288 from holiman/prefer_prefixed
...
core/rawdb: do prefixed lookup first
2022-01-25 12:18:16 +02:00
Péter Szilágyi
f9ce40bb84
Merge pull request #24281 from karalabe/dev-read-write
...
cmd/utils: fix regression placing dev mode datadir readonly
2022-01-24 10:35:39 +02:00
Péter Szilágyi
4230f5f08f
cmd/utils: fix regression placing dev mode datadir readonly
2022-01-24 10:19:31 +02:00
Péter Szilágyi
e6b61edd57
Merge pull request #24171 from ucwong/pmp
...
go.mod : go-nat-pmp v1.0.2
2022-01-11 11:35:28 +02:00
Péter Szilágyi
acd7b36999
Merge pull request #24197 from rjl493456442/periodically-flush-batch
...
core: periodically flush the transaction indexes
2022-01-11 11:32:43 +02:00
Péter Szilágyi
adc0a6adca
Merge pull request #24210 from holiman/whitelist_investigate
...
eth: continue after whitelist check
2022-01-07 16:44:22 +02:00
Péter Szilágyi
af2ca5a654
Merge pull request #24117 from holiman/db_has
...
trie, core, eth: use db.has over db.get where possible
2022-01-06 11:30:11 +02:00
Péter Szilágyi
a25906e4c0
Merge pull request #24066 from holiman/no_no_recursion
...
core/vm: remove no-recursion option from config
2021-12-06 12:47:25 +02:00
Péter Szilágyi
cca482b4b1
Merge pull request #24047 from karalabe/delete-dead-sync-bloom
...
core, eth, les, trie: remove the sync bloom, used by fast sync
2021-12-03 13:55:17 +02:00
Péter Szilágyi
58d1988349
core, eth, les, trie: remove the sync bloom, used by fast sync
2021-12-03 12:32:41 +02:00