From f47815e0799b80e73e64e133c6d49305991e28c8 Mon Sep 17 00:00:00 2001 From: Yohan Graterol Date: Sat, 14 Apr 2018 08:20:01 -0500 Subject: [PATCH] Mainnet bootnodes var --- cmd/utils/flags.go | 2 +- params/config.go | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index da342da921..8306a90794 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -587,7 +587,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) { // setBootstrapNodes creates a list of bootstrap nodes from the command line // flags, reverting to pre-configured ones if none have been specified. func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) { - urls := params.MainnetBootnodes + urls := params.CallistoMainnetBootnodes switch { case ctx.GlobalIsSet(BootnodesFlag.Name) || ctx.GlobalIsSet(BootnodesV4Flag.Name): if ctx.GlobalIsSet(BootnodesV4Flag.Name) { diff --git a/params/config.go b/params/config.go index 1e7af646ff..261210b618 100644 --- a/params/config.go +++ b/params/config.go @@ -60,9 +60,9 @@ var ( Ethash: new(EthashConfig), } - cloMinerReward, _ = new(big.Int).SetString("420000000000000000000", 10) - cloTreasuryReward, _ = new(big.Int).SetString("120000000000000000000", 10) - cloStakeReward, _ = new(big.Int).SetString("60000000000000000000", 10) + CLOMinerReward, _ = new(big.Int).SetString("420000000000000000000", 10) + CLOTreasuryReward, _ = new(big.Int).SetString("120000000000000000000", 10) + CLOStakeReward, _ = new(big.Int).SetString("60000000000000000000", 10) // CallistoMainnetChainConfig contains the chain parameters to run a node on the Callisto Main network. CallistoMainnetChainConfig = &ChainConfig{ @@ -76,11 +76,11 @@ var ( EIP158Block: big.NewInt(10), ByzantiumBlock: big.NewInt(20), CallistoBlock: big.NewInt(0), - CallistoMinerReward: cloMinerReward, + CallistoMinerReward: CLOMinerReward, CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"), - CallistoTreasuryReward: cloTreasuryReward, + CallistoTreasuryReward: CLOTreasuryReward, CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"), - CallistoStakeReward: cloStakeReward, + CallistoStakeReward: CLOStakeReward, Ethash: new(EthashConfig), } @@ -96,11 +96,11 @@ var ( EIP158Block: big.NewInt(10), ByzantiumBlock: big.NewInt(20), CallistoBlock: big.NewInt(0), - CallistoMinerReward: cloMinerReward, + CallistoMinerReward: CLOMinerReward, CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"), - CallistoTreasuryReward: cloTreasuryReward, + CallistoTreasuryReward: CLOTreasuryReward, CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"), - CallistoStakeReward: cloStakeReward, + CallistoStakeReward: CLOStakeReward, Ethash: new(EthashConfig), }