Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
d3476562
Commit
d3476562
authored
Oct 02, 2017
by
Péter Szilágyi
Committed by
GitHub
Oct 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15224 from karalabe/byzantium-block-numbers
cmd/puppeth, params: enable Byzantium on all networks
parents
f86c4177
7514e8a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
wizard_genesis.go
cmd/puppeth/wizard_genesis.go
+1
-0
config.go
params/config.go
+2
-3
No files found.
cmd/puppeth/wizard_genesis.go
View file @
d3476562
...
...
@@ -42,6 +42,7 @@ func (w *wizard) makeGenesis() {
EIP150Block
:
big
.
NewInt
(
2
),
EIP155Block
:
big
.
NewInt
(
3
),
EIP158Block
:
big
.
NewInt
(
3
),
ByzantiumBlock
:
big
.
NewInt
(
4
),
},
}
// Figure out which consensus engine to choose
...
...
params/config.go
View file @
d3476562
...
...
@@ -18,7 +18,6 @@ package params
import
(
"fmt"
"math"
"math/big"
"github.com/ethereum/go-ethereum/common"
...
...
@@ -40,7 +39,7 @@ var (
EIP150Hash
:
common
.
HexToHash
(
"0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"
),
EIP155Block
:
big
.
NewInt
(
2675000
),
EIP158Block
:
big
.
NewInt
(
2675000
),
ByzantiumBlock
:
big
.
NewInt
(
math
.
MaxInt64
),
// Don't enable yet
ByzantiumBlock
:
big
.
NewInt
(
4370000
),
Ethash
:
new
(
EthashConfig
),
}
...
...
@@ -70,7 +69,7 @@ var (
EIP150Hash
:
common
.
HexToHash
(
"0x9b095b36c15eaf13044373aef8ee0bd3a382a5abb92e402afa44b8249c3a90e9"
),
EIP155Block
:
big
.
NewInt
(
3
),
EIP158Block
:
big
.
NewInt
(
3
),
ByzantiumBlock
:
big
.
NewInt
(
math
.
MaxInt64
),
// Don't enable yet
ByzantiumBlock
:
big
.
NewInt
(
1035301
),
Clique
:
&
CliqueConfig
{
Period
:
15
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment