diff options
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/core/genesis.go b/core/genesis.go index 84bea56b7..84966ee48 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -234,8 +234,6 @@ func (g *Genesis) configOrDefault(ghash common.Hash) *params.ChainConfig { return params.MainnetChainConfig case ghash == params.TestnetGenesisHash: return params.TestnetChainConfig - case ghash == params.YilanGenesisHash: - return params.YilanChainConfig default: return params.AllEthashProtocolChanges } @@ -406,32 +404,6 @@ func DefaultTestnetGenesisBlock() *Genesis { } } -// DefaultTaipeiGenesisBlock returns the Taipei network genesis block. -func DefaultTaipeiGenesisBlock() *Genesis { - return &Genesis{ - Config: params.TaipeiChainConfig, - Timestamp: params.TaipeiChainConfig.DMoment * 1000, - Nonce: 0x42, - ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 40000000, - Difficulty: big.NewInt(1), - Alloc: decodePrealloc(taipeiAllocData), - } -} - -// DefaultYilanGenesisBlock returns the Yilan network genesis block. -func DefaultYilanGenesisBlock() *Genesis { - return &Genesis{ - Config: params.YilanChainConfig, - Timestamp: params.YilanChainConfig.DMoment * 1000, - Nonce: 0x42, - ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 40000000, - Difficulty: big.NewInt(1), - Alloc: decodePrealloc(yilanAllocData), - } -} - // DeveloperGenesisBlock returns the 'geth --dev' genesis block. Note, this must // be seeded with the func DeveloperGenesisBlock(period uint64, faucet common.Address) *Genesis { |