Mainnet bootnodes var

This commit is contained in:
Yohan Graterol 2018-04-14 08:20:01 -05:00
parent 0d65a7490a
commit f47815e079
2 changed files with 10 additions and 10 deletions

View file

@ -587,7 +587,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) {
// setBootstrapNodes creates a list of bootstrap nodes from the command line // setBootstrapNodes creates a list of bootstrap nodes from the command line
// flags, reverting to pre-configured ones if none have been specified. // flags, reverting to pre-configured ones if none have been specified.
func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) { func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) {
urls := params.MainnetBootnodes urls := params.CallistoMainnetBootnodes
switch { switch {
case ctx.GlobalIsSet(BootnodesFlag.Name) || ctx.GlobalIsSet(BootnodesV4Flag.Name): case ctx.GlobalIsSet(BootnodesFlag.Name) || ctx.GlobalIsSet(BootnodesV4Flag.Name):
if ctx.GlobalIsSet(BootnodesV4Flag.Name) { if ctx.GlobalIsSet(BootnodesV4Flag.Name) {

View file

@ -60,9 +60,9 @@ var (
Ethash: new(EthashConfig), Ethash: new(EthashConfig),
} }
cloMinerReward, _ = new(big.Int).SetString("420000000000000000000", 10) CLOMinerReward, _ = new(big.Int).SetString("420000000000000000000", 10)
cloTreasuryReward, _ = new(big.Int).SetString("120000000000000000000", 10) CLOTreasuryReward, _ = new(big.Int).SetString("120000000000000000000", 10)
cloStakeReward, _ = new(big.Int).SetString("60000000000000000000", 10) CLOStakeReward, _ = new(big.Int).SetString("60000000000000000000", 10)
// CallistoMainnetChainConfig contains the chain parameters to run a node on the Callisto Main network. // CallistoMainnetChainConfig contains the chain parameters to run a node on the Callisto Main network.
CallistoMainnetChainConfig = &ChainConfig{ CallistoMainnetChainConfig = &ChainConfig{
@ -76,11 +76,11 @@ var (
EIP158Block: big.NewInt(10), EIP158Block: big.NewInt(10),
ByzantiumBlock: big.NewInt(20), ByzantiumBlock: big.NewInt(20),
CallistoBlock: big.NewInt(0), CallistoBlock: big.NewInt(0),
CallistoMinerReward: cloMinerReward, CallistoMinerReward: CLOMinerReward,
CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"), CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"),
CallistoTreasuryReward: cloTreasuryReward, CallistoTreasuryReward: CLOTreasuryReward,
CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"), CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"),
CallistoStakeReward: cloStakeReward, CallistoStakeReward: CLOStakeReward,
Ethash: new(EthashConfig), Ethash: new(EthashConfig),
} }
@ -96,11 +96,11 @@ var (
EIP158Block: big.NewInt(10), EIP158Block: big.NewInt(10),
ByzantiumBlock: big.NewInt(20), ByzantiumBlock: big.NewInt(20),
CallistoBlock: big.NewInt(0), CallistoBlock: big.NewInt(0),
CallistoMinerReward: cloMinerReward, CallistoMinerReward: CLOMinerReward,
CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"), CallistoTreasuryAddress: common.HexToAddress("0x74682Fc32007aF0b6118F259cBe7bCCC21641600"),
CallistoTreasuryReward: cloTreasuryReward, CallistoTreasuryReward: CLOTreasuryReward,
CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"), CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"),
CallistoStakeReward: cloStakeReward, CallistoStakeReward: CLOStakeReward,
Ethash: new(EthashConfig), Ethash: new(EthashConfig),
} }