From 6e718ed3de0d5b40639c0bef74d1899031ff7ea0 Mon Sep 17 00:00:00 2001 From: Luke Williams Date: Sat, 23 Feb 2019 16:57:25 +0100 Subject: [PATCH] update default genesis blocks --- core/genesis.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/core/genesis.go b/core/genesis.go index e73141aed1..0cf6bad0fa 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -309,10 +309,12 @@ func GenesisBlockForTesting(db ethdb.Database, addr common.Address, balance *big func DefaultGenesisBlock() *Genesis { return &Genesis{ Config: params.MainnetChainConfig, - Nonce: 66, - ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), - GasLimit: 5000, - Difficulty: big.NewInt(17179869184), + Nonce: 2184, + Timestamp: 1485633600, + ExtraData: hexutil.MustDecode("0x4a756d6275636b734545"), + GasLimit: 134217728, + Difficulty: big.NewInt(80000000000), + Coinbase: common.StringToAddress("3333333333333333333333333333333333333333"), Alloc: decodePrealloc(mainnetAllocData), } } @@ -321,10 +323,10 @@ func DefaultGenesisBlock() *Genesis { func DefaultTestnetGenesisBlock() *Genesis { return &Genesis{ Config: params.TestnetChainConfig, - Nonce: 66, - ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 16777216, - Difficulty: big.NewInt(1048576), + Nonce: 273, + ExtraData: hexutil.MustDecode("0x4a756d6275636b734545"), + GasLimit: 134217728, + Difficulty: big.NewInt(983040), Alloc: decodePrealloc(testnetAllocData), } }