Closed Djadih closed 1 week ago
Example:
func DefaultOrchardGenesisBlock(consensusEngine string) *Genesis { if consensusEngine == "blake3" { return &Genesis{ Config: params.Blake3PowOrchardChainConfig, Nonce: 66, ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fc"), GasLimit: 5000000, Difficulty: big.NewInt(40000000), } } return &Genesis{ Config: params.ProgpowOrchardChainConfig, Nonce: 0, ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353536"), GasLimit: 5000000, Difficulty: big.NewInt(300000000), } }``` Currently: Nonce, ExtraData, and GasLimit all don't affect the genesis hash
Example: