Fixed TransactionSizeLimit, added IsQuorum and changed flags to start at block zero.
This commit is contained in:
parent
3a46922e01
commit
5d1b42533c
|
@ -44,17 +44,19 @@ func New(options ...Option) *core.Genesis {
|
||||||
Difficulty: big.NewInt(InitDifficulty),
|
Difficulty: big.NewInt(InitDifficulty),
|
||||||
Alloc: make(core.GenesisAlloc),
|
Alloc: make(core.GenesisAlloc),
|
||||||
Config: ¶ms.ChainConfig{
|
Config: ¶ms.ChainConfig{
|
||||||
ChainID: big.NewInt(10),
|
ChainID: big.NewInt(10),
|
||||||
HomesteadBlock: big.NewInt(1),
|
HomesteadBlock: big.NewInt(0),
|
||||||
ByzantiumBlock: big.NewInt(1),
|
ByzantiumBlock: big.NewInt(0),
|
||||||
ConstantinopleBlock: big.NewInt(1),
|
ConstantinopleBlock: big.NewInt(0),
|
||||||
EIP150Block: big.NewInt(1),
|
EIP150Block: big.NewInt(0),
|
||||||
EIP155Block: big.NewInt(1),
|
EIP155Block: big.NewInt(0),
|
||||||
EIP158Block: big.NewInt(1),
|
EIP158Block: big.NewInt(0),
|
||||||
|
TransactionSizeLimit: 64,
|
||||||
Istanbul: ¶ms.IstanbulConfig{
|
Istanbul: ¶ms.IstanbulConfig{
|
||||||
ProposerPolicy: uint64(istanbul.DefaultConfig.ProposerPolicy),
|
ProposerPolicy: uint64(istanbul.DefaultConfig.ProposerPolicy),
|
||||||
Epoch: istanbul.DefaultConfig.Epoch,
|
Epoch: istanbul.DefaultConfig.Epoch,
|
||||||
},
|
},
|
||||||
|
IsQuorum: true,
|
||||||
},
|
},
|
||||||
Mixhash: types.IstanbulDigest,
|
Mixhash: types.IstanbulDigest,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue