mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
Mainnet bootnodes var
This commit is contained in:
parent
0d65a7490a
commit
f47815e079
2 changed files with 10 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue