Skip to content

Commit

Permalink
Added terminalTotalDifficulty field in ChainConfig (#2900)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Nov 3, 2021
1 parent 5e54b27 commit 51d29f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ type ChainConfig struct {
LondonBlock *big.Int `json:"londonBlock,omitempty"` // London switch block (nil = no fork, 0 = already on london)
ArrowGlacierBlock *big.Int `json:"arrowGlacierBlock,omitempty"` // EIP-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)

// EIP-3675: Upgrade consensus to Proof-of-Stake
TerminalTotalDifficulty *big.Int `json:"terminalTotalDifficulty,omitempty"` // The merge happens when terminal total difficulty is reached
// Various consensus engines
Ethash *EthashConfig `json:"ethash,omitempty"`
Clique *CliqueConfig `json:"clique,omitempty"`
Expand Down

0 comments on commit 51d29f1

Please sign in to comment.