Skip to content

Commit 3680cd5

Browse files
karalabefjl
authored andcommitted
params: explain EIP150Hash (#15237)
1 parent d3beff7 commit 3680cd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

params/config.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,18 @@ type ChainConfig struct {
9999
ChainId *big.Int `json:"chainId"` // Chain id identifies the current chain and is used for replay protection
100100

101101
HomesteadBlock *big.Int `json:"homesteadBlock,omitempty"` // Homestead switch block (nil = no fork, 0 = already homestead)
102+
102103
DAOForkBlock *big.Int `json:"daoForkBlock,omitempty"` // TheDAO hard-fork switch block (nil = no fork)
103104
DAOForkSupport bool `json:"daoForkSupport,omitempty"` // Whether the nodes supports or opposes the DAO hard-fork
104105

105106
// EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150)
106107
EIP150Block *big.Int `json:"eip150Block,omitempty"` // EIP150 HF block (nil = no fork)
107-
EIP150Hash common.Hash `json:"eip150Hash,omitempty"` // EIP150 HF hash (fast sync aid)
108+
EIP150Hash common.Hash `json:"eip150Hash,omitempty"` // EIP150 HF hash (needed for header only clients as only gas pricing changed)
108109

109110
EIP155Block *big.Int `json:"eip155Block,omitempty"` // EIP155 HF block
110111
EIP158Block *big.Int `json:"eip158Block,omitempty"` // EIP158 HF block
111112

112-
ByzantiumBlock *big.Int `json:"byzantiumBlock,omitempty"` // Byzantium switch block (nil = no fork, 0 = alraedy on homestead)
113+
ByzantiumBlock *big.Int `json:"byzantiumBlock,omitempty"` // Byzantium switch block (nil = no fork, 0 = already on byzantium)
113114

114115
// Various consensus engines
115116
Ethash *EthashConfig `json:"ethash,omitempty"`

0 commit comments

Comments
 (0)