mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
configuring genesis
This commit is contained in:
parent
2787e636dc
commit
3e2491d45b
3 changed files with 3 additions and 18 deletions
|
|
@ -341,19 +341,6 @@ func DefaultGoerliGenesisBlock() *Genesis {
|
|||
ExtraData: hexutil.MustDecode("0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
|
||||
GasLimit: 4700000,
|
||||
Difficulty: big.NewInt(1),
|
||||
Alloc: decodePrealloc(rinkebyAllocData),
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: @priom: Define the correct values of each field
|
||||
// DefaultGoerliGenesisBlock returns the Goerli network genesis block
|
||||
func DefaultGoerliGenesisBlock() *Genesis {
|
||||
return &Genesis {
|
||||
Config: params.GoerliChainConfig,
|
||||
Timestamp: ,
|
||||
ExtraData: hexutil.MustDecode(""),
|
||||
GasLimit: ,
|
||||
Difficulty: big.NewInt(),
|
||||
Alloc: decodePrealloc(goerliAllocData),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -141,11 +141,7 @@ type ChainConfig struct {
|
|||
// Various consensus engines
|
||||
Ethash *EthashConfig `json:"ethash,omitempty"`
|
||||
Clique *CliqueConfig `json:"clique,omitempty"`
|
||||
<<<<<<< HEAD
|
||||
Aura *AuraConfig
|
||||
=======
|
||||
Aura *AuraConfig `json:"aura,omitempty"`
|
||||
>>>>>>> aura-dev
|
||||
}
|
||||
|
||||
// EthashConfig is the consensus engine configs for proof-of-work based sealing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue