Modify default NetworkId

This commit is contained in:
Julian Yap 2016-11-19 00:50:33 -10:00
parent ebd66bff1f
commit af9a2b5a52
3 changed files with 3 additions and 3 deletions

View file

@ -745,7 +745,7 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) {
switch {
case ctx.GlobalBool(OlympicFlag.Name):
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
ethConf.NetworkId = 1
ethConf.NetworkId = 88
}
ethConf.Genesis = core.OlympicGenesisBlock()

View file

@ -42,7 +42,7 @@ var ProtocolVersions = []uint{eth63, eth62}
var ProtocolLengths = []uint64{17, 8}
const (
NetworkId = 1
NetworkId = 88
ProtocolMaxMsgSize = 10 * 1024 * 1024 // Maximum cap on the size of a protocol message
)

View file

@ -39,7 +39,7 @@ var ProtocolVersions = []uint{lpv1}
var ProtocolLengths = []uint64{15}
const (
NetworkId = 1
NetworkId = 88
ProtocolMaxMsgSize = 10 * 1024 * 1024 // Maximum cap on the size of a protocol message
)