mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
core: tidy up genesis alloc
This commit is contained in:
parent
2bb6edd07b
commit
6eebfd340f
5 changed files with 12 additions and 33 deletions
|
|
@ -276,7 +276,7 @@ func DefaultGenesisBlock() *Genesis {
|
|||
ExtraData: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000025c65b4b379ac37cf78357c4915f73677022eaffc7d49d0a2cf198deebd6ce581af465944ec8b2bbcfccdea1006a5cfa7d9484b5b293b46964c265c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
|
||||
GasLimit: 4700000,
|
||||
Difficulty: big.NewInt(1),
|
||||
Alloc: DecodeAllocJson(XDCAllocData),
|
||||
Alloc: DecodeAllocJson(MainnetAllocData),
|
||||
Timestamp: 1559211559,
|
||||
}
|
||||
}
|
||||
|
|
@ -291,7 +291,7 @@ func DefaultTestnetGenesisBlock() *Genesis {
|
|||
ExtraData: hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000003ea0a3555f9b1de983572bff6444aeb1899ec58c4f7900282f3d371d585ab1361205b0940ab1789c942a5885a8844ee5587c8ac5e371fc39ffe618960000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
|
||||
GasLimit: 4700000,
|
||||
Difficulty: big.NewInt(1),
|
||||
Alloc: DecodeAllocJson(XDCTestAllocData),
|
||||
Alloc: DecodeAllocJson(TestnetAllocData),
|
||||
Timestamp: 1560417871,
|
||||
}
|
||||
}
|
||||
|
|
@ -304,7 +304,7 @@ func DefaultRinkebyGenesisBlock() *Genesis {
|
|||
ExtraData: hexutil.MustDecode("0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
|
||||
GasLimit: 4700000,
|
||||
Difficulty: big.NewInt(1),
|
||||
Alloc: decodePrealloc(rinkebyAllocData),
|
||||
Alloc: decodePrealloc(""),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
3
core/genesis_alloc_devnet.go
Normal file
3
core/genesis_alloc_devnet.go
Normal file
File diff suppressed because one or more lines are too long
3
core/genesis_alloc_mainnet.go
Normal file
3
core/genesis_alloc_mainnet.go
Normal file
File diff suppressed because one or more lines are too long
3
core/genesis_alloc_testnet.go
Normal file
3
core/genesis_alloc_testnet.go
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue