bsc/cmd
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
..
abidump signer/core: move API JSON types to separate package (#23275) 2021-07-29 16:06:44 +02:00
abigen cmd/abigen: clarify abigen alias flag usage (#21875) 2020-12-12 17:36:32 +01:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin cmd/clef: change --rpcport to --http.port and update flags in docs (#21318) 2020-07-14 10:35:32 +02:00
clef node, cmd/clef: remove term "whitelist" (#23296) 2021-08-02 15:43:01 +02:00
devp2p cmd/devp2p/internal/v4test: fix false-positive hive test (#23966) 2021-11-24 21:22:45 +01:00
ethkey accounts/keystore: use github.com/google/uuid (#22217) 2021-02-26 15:28:34 +01:00
evm all: move loggers to eth/tracers (#23892) 2021-11-25 14:17:09 +02:00
faucet all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
geth all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
p2psim node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
puppeth cmd/puppeth: make it possible to have pw-protected keyfiles (#22148) 2021-11-02 13:21:25 +01:00
rlpdump cmd/rlpdump: add support for text to rlp (#23745) 2021-10-18 13:38:00 +02:00
utils all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00