plugeth/eth
Marius van der Wijden 3038e480f5
all: core rework for the merge transition (#23761)
* all: work for eth1/2 transtition

* consensus/beacon, eth: change beacon difficulty to 0

* eth: updates

* all: add terminalBlockDifficulty config, fix rebasing issues

* eth: implemented merge interop spec

* internal/ethapi: update to v1.0.0.alpha.2

                                                                 This commit updates the code to the new spec, moving payloadId into
                                                                 it's own object. It also fixes an issue with finalizing an empty blockhash.
                                                                 It also properly sets the basefee

* all: sync polishes, other fixes + refactors

* core, eth: correct semantics for LeavePoW, EnterPoS

* core: fixed rebasing artifacts

* core: light: performance improvements

* core: use keyed field (f)

* core: eth: fix compilation issues + tests

* eth/catalyst: dbetter error codes

* all: move Merger to consensus/, remove reliance on it in bc

* all: renamed EnterPoS and LeavePoW to ReachTDD and FinalizePoS

* core: make mergelogs a function

* core: use InsertChain instead of InsertBlock

* les: drop merger from lightchain object

* consensus: add merger

* core: recoverAncestors in catalyst mode

* core: fix nitpick

* all: removed merger from beacon, use TTD, nitpicks

* consensus: eth: add docstring, removed unnecessary code duplication

* consensus/beacon: better comment

* all: easy to fix nitpicks by karalabe

* consensus/beacon: verify known headers to be sure

* core: comments

* core: eth: don't drop peers who advertise blocks, nitpicks

* core: never add beacon blocks to the future queue

* core: fixed nitpicks

* consensus/beacon: simplify IsTTDReached check

* consensus/beacon: correct IsTTDReached check

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2021-11-26 13:23:02 +02:00
..
catalyst all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
downloader all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
ethconfig all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
fetcher optimize the judge of invalide notification.number (#22658) 2021-10-31 19:38:48 +01:00
filters eth/filters, p2p/simulations: fix benchmarks (#23806) 2021-10-29 14:37:00 +02:00
gasprice all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
protocols all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
tracers all: move loggers to eth/tracers (#23892) 2021-11-25 14:17:09 +02:00
api_backend.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go eth: fix typo in comment (#23941) 2021-11-22 02:53:16 +01:00
backend.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler_eth_test.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
handler_eth.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
handler.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
peer.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
peerset.go eth: don't wait for snap registration if we're not running snap (#22272) 2021-02-05 14:15:22 +01:00
state_accessor.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
sync_test.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
sync.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00