Skip to content

Commit

Permalink
only 1 init validator
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyun92 authored and lingyun92 committed Jun 1, 2021
1 parent d3db033 commit 631bc7b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 37 deletions.
2 changes: 1 addition & 1 deletion core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func DefaultGenesisBlock() *Genesis {
Config: params.MainnetChainConfig,
Nonce: 0,
Timestamp: 0x60b5e164,
ExtraData: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000e270d4fce42c7713f1ad9cc75d41b7a69558a16987fcfadc3af29ab3197c81ec247c0b28f465fafebe5f2ffcbd26fc5304721de0c7279960c453b8f0ad291383864e1999fc7a36120562f1bb59dfea99eac6d9b96c73a637ba9d7a54dc4faece0300fcb39d4a6f12d16c7950ff58ab7ea26cdd837697db6f429663140a87d0ee4ac6b6d3cf8a538b46d18e496ee29fbbe3e0bdbf86773d71ebc6b5e38ce81e2e98a96f0db2185a9462c0cedd1a6259955fff73531105c97ffbd985600e6dc8e06e477b99d0a9ff3943e3adc88f337e0596b47d4c1794294b99226e5f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
ExtraData: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000e270d4fce42c7713f1ad9cc75d41b7a69558a1690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
GasLimit: 0x2faf080,
Difficulty: big.NewInt(1),
Alloc: decodePrealloc(mainnetAllocData),
Expand Down
2 changes: 1 addition & 1 deletion core/genesis_alloc.go

Large diffs are not rendered by default.

32 changes: 1 addition & 31 deletions genesis-mainnet.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions params/bootnodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import "github.com/ethereum/go-ethereum/common"

// MainnetBootnodes are the enode URLs of the P2P bootstrap nodes running on
// the main Ethereum network.
var MainnetBootnodes = []string{
"enode://f9a924a477bba99d30e23d9defdbc8f1505a7b63c41627162b486bf0cde6ba16fc54c2fa5b7d523a66b0710be16d1a73d141f5e6606adeaa71a22afb6e3c1280@13.230.226.55:30303", //kcc-mainnet-node-boot-01
}
var MainnetBootnodes = []string{}

// TestnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the test network.
var TestnetBootnodes = []string{
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

// Genesis hashes to enforce below configs on.
var (
MainnetGenesisHash = common.HexToHash("0xbe12e995c4af6bf98c223a2168a5d6d5bd5c62414891a8a2aae037b8fd431b74")
MainnetGenesisHash = common.HexToHash("")
TestnetGenesisHash = common.HexToHash("0x3e98a8f1704be5accc0ce9abf3e852e24ec030a9dda6c1beaf72c600f85cd417")
)

Expand Down

0 comments on commit 631bc7b

Please sign in to comment.