CLO tesnet 3.0 with PoA

This commit is contained in:
Yohan Graterol 2018-06-11 19:32:34 -05:00
parent c042882bec
commit 3a7292d521
2 changed files with 7 additions and 4 deletions

View file

@ -353,12 +353,12 @@ func DefaultTestnetGenesisBlock() *Genesis {
func DefaultCallistoTestnetGenesisBlock() *Genesis { func DefaultCallistoTestnetGenesisBlock() *Genesis {
return &Genesis{ return &Genesis{
Config: params.CallistoTestnetChainConfig, Config: params.CallistoTestnetChainConfig,
ExtraData: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000"), ExtraData: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000183394f52b2c8c034835edba3bcececa6f60b5a80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
GasLimit: 4700000, GasLimit: 4700000,
Difficulty: big.NewInt(524288), Difficulty: big.NewInt(1),
Timestamp: 1519622213, Timestamp: 1519622213,
Nonce: 0, Nonce: 0,
Coinbase: common.HexToAddress("0xc3F70b10CE5EC4aA47ce44Eb0B7900A883cd45Dd"), Coinbase: common.HexToAddress("0x0000000000000000000000000000000000000000"),
Mixhash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), Mixhash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
Alloc: decodePrealloc(callistoTestnetAllocData), Alloc: decodePrealloc(callistoTestnetAllocData),
} }

View file

@ -102,7 +102,10 @@ var (
CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"), CallistoStakeAddress: common.HexToAddress("0x3c06f218Ce6dD8E2c535a8925A2eDF81674984D9"),
CallistoStakeReward: CLOStakeReward, CallistoStakeReward: CLOStakeReward,
Ethash: new(EthashConfig), Clique: &CliqueConfig{
Period: 15,
Epoch: 30000,
},
} }
// RinkebyChainConfig contains the chain parameters to run a node on the Rinkeby test network. // RinkebyChainConfig contains the chain parameters to run a node on the Rinkeby test network.