aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/clef/README.md2
-rw-r--r--cmd/utils/flags.go2
-rw-r--r--dex/config.go2
-rw-r--r--dex/handler.go2
-rw-r--r--dex/protocol_test.go2
-rw-r--r--params/config.go2
-rw-r--r--test/genesis.json2
7 files changed, 7 insertions, 7 deletions
diff --git a/cmd/clef/README.md b/cmd/clef/README.md
index fc2e73896..5bb89ecd4 100644
--- a/cmd/clef/README.md
+++ b/cmd/clef/README.md
@@ -31,7 +31,7 @@ GLOBAL OPTIONS:
--loglevel value log level to emit to the screen (default: 4)
--keystore value Directory for the keystore (default: "$HOME/.ethereum/keystore")
--configdir value Directory for clef configuration (default: "$HOME/.clef")
- --networkid value Network identifier (integer, 373=Mainnet, 374=Testnet) (default: 373)
+ --networkid value Network identifier (integer, 411=Mainnet, 374=Testnet) (default: 411)
--lightkdf Reduce key-derivation RAM & CPU usage at some expense of KDF strength
--nousb Disables monitoring for and managing USB hardware wallets
--rpcaddr value HTTP-RPC server listening interface (default: "localhost")
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 2e1053c83..c4dea07a5 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -130,7 +130,7 @@ var (
}
NetworkIdFlag = cli.Uint64Flag{
Name: "networkid",
- Usage: "Network identifier (integer, 373=Mainnet, 374=Testnet) (default: 373)",
+ Usage: "Network identifier (integer, 411=Mainnet, 374=Testnet) (default: 411)",
Value: dex.DefaultConfig.NetworkId,
}
TestnetFlag = cli.BoolFlag{
diff --git a/dex/config.go b/dex/config.go
index dd93146bd..ce6497ee8 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -36,7 +36,7 @@ import (
// DefaultConfig contains default settings for use on the Ethereum main net.
var DefaultConfig = Config{
SyncMode: downloader.FastSync,
- NetworkId: 373,
+ NetworkId: 411,
LightPeers: 100,
DatabaseCache: 768,
TrieCleanCache: 256,
diff --git a/dex/handler.go b/dex/handler.go
index 8031f3639..1c87d322c 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -1411,7 +1411,7 @@ func (pm *ProtocolManager) peerSetLoop() {
// NodeInfo represents a short summary of the Ethereum sub-protocol metadata
// known about the host peer.
type NodeInfo struct {
- Network uint64 `json:"network"` // Network ID (373=Mainnet, 374=Testnet)
+ Network uint64 `json:"network"` // Network ID (411=Mainnet, 374=Testnet)
Number uint64 `json:"number"` // Total difficulty of the host's blockchain
Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block
Config *params.ChainConfig `json:"config"` // Chain configuration for the fork rules
diff --git a/dex/protocol_test.go b/dex/protocol_test.go
index bd0a77dfa..f90f95cb5 100644
--- a/dex/protocol_test.go
+++ b/dex/protocol_test.go
@@ -73,7 +73,7 @@ func testStatusMsgErrors(t *testing.T, protocol int) {
},
{
code: StatusMsg, data: statusData{uint32(protocol), 999, number, head.Hash(), genesis.Hash()},
- wantError: errResp(ErrNetworkIdMismatch, "999 (!= 373)"),
+ wantError: errResp(ErrNetworkIdMismatch, "999 (!= 411)"),
},
{
code: StatusMsg, data: statusData{uint32(protocol), DefaultConfig.NetworkId, number, head.Hash(), common.Hash{3}},
diff --git a/params/config.go b/params/config.go
index 13c161855..e3c7e3182 100644
--- a/params/config.go
+++ b/params/config.go
@@ -40,7 +40,7 @@ var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
var (
// MainnetChainConfig is the chain parameters to run a node on the main network.
MainnetChainConfig = &ChainConfig{
- ChainID: big.NewInt(373),
+ ChainID: big.NewInt(411),
DMoment: 1569726000,
HomesteadBlock: big.NewInt(0),
DAOForkBlock: big.NewInt(0),
diff --git a/test/genesis.json b/test/genesis.json
index 5418a4b92..a4d421bc0 100644
--- a/test/genesis.json
+++ b/test/genesis.json
@@ -1,6 +1,6 @@
{
"config": {
- "chainId": 373,
+ "chainId": 411,
"dMoment": 0,
"homesteadBlock": 0,
"daoForkBlock": 0,