// consensus variables
const (
// Max gas that one block contains
- MaxBlockGas = uint64(10000000)
- VMGasRate = int64(200)
- StorageGasRate = int64(1)
- MaxGasAmount = int64(200000)
- DefaultGasCredit = int64(30000)
+ MaxBlockGas = uint64(10000000)
+ VMGasRate = int64(200)
+ StorageGasRate = int64(1)
+ MaxGasAmount = int64(300000)
// These configs need add to casper config in elegant way
MaxNumOfValidators = int(10)
BlockReward = uint64(570776255)
// config parameter for coinbase reward
- CoinbasePendingBlockNumber = uint64(100)
+ CoinbasePendingBlockNumber = uint64(10)
MinVoteOutputAmount = uint64(100000000)
PayToWitnessPubKeyHashDataSize = 20
DNSSeeds: []string{"www.mainnetseed.bytom.io"},
CasperConfig: CasperConfig{
BlockTimeInterval: 6000,
- MaxTimeOffsetMs: 24000,
+ MaxTimeOffsetMs: 2400,
BlocksOfEpoch: 100,
MinValidatorVoteNum: 1e14,
VotePendingBlockNumber: 181440,
ControlProgram: []byte{0x51},
SourceID: bc.NewHash([32]byte{0xb4, 0x7e, 0x94, 0x31, 0x88, 0xfe, 0xd3, 0xe9, 0xac, 0x99, 0x7c, 0xfc, 0x99, 0x6d, 0xd7, 0x4d, 0x04, 0x10, 0x77, 0xcb, 0x1c, 0xf8, 0x95, 0x14, 0x00, 0xe3, 0x42, 0x00, 0x8d, 0x05, 0xec, 0xdc}),
SourcePos: 0,
- ValidHeight: 100,
+ ValidHeight: 10,
},
},
},