VMGasRate = int64(200)
StorageGasRate = int64(1)
MaxGasAmount = int64(200000)
- DefaultGasCredit = int64(30000)
+ DefaultGasCredit = int64(160000)
//config parameter for coinbase reward
CoinbasePendingBlockNumber = uint64(100)
VotePendingBlockNumber = uint64(10000)
//DPOS parameter
- NumOfConsensusNode = 7
- BlockNumEachNode = 3
- RoundVoteBlockNums = NumOfConsensusNode * BlockNumEachNode * 100
- MinVoteNum = 5000000
+ NumOfConsensusNode = 10
+ BlockNumEachNode = 12
+ RoundVoteBlockNums = NumOfConsensusNode * BlockNumEachNode * 10
+ MinConsensusNodeVoteNum = uint64(100000000000000) // min is 1 million BTM
+ MinVoteOutputAmount = uint64(100000000) // min is 1 BTM
// BlockTimeInterval indicate product one block per 500 milliseconds
BlockTimeInterval = 500
// MaxTimeOffsetMs is the maximum number of seconds a block time is allowed to be ahead of the current time
- MaxTimeOffsetMs = uint64(60 * 60 * 1000)
+ MaxTimeOffsetMs = uint64(BlockTimeInterval * BlockNumEachNode / 3)
MedianTimeBlocks = 11
PayToWitnessPubKeyHashDataSize = 20