• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: 提交

Golang implemented sidechain for Bytom


Commit MetaInfo

修订版eccbe23c0037b767747d97fc9f96ec063496457f (tree)
时间2020-01-09 17:26:38
作者EC2 Default User <ec2-user@ip-1...>
CommiterEC2 Default User

Log Message

test config

更改概述

差异

--- a/consensus/general.go
+++ b/consensus/general.go
@@ -190,8 +190,8 @@ var SoloNetParams = Params{
190190 DefaultGasCredit: int64(160000),
191191 StorageGasRate: int64(1),
192192 VMGasRate: int64(200),
193- VotePendingBlockNumber: uint64(10000),
194- CoinbasePendingBlockNumber: uint64(1200),
193+ VotePendingBlockNumber: uint64(100),
194+ CoinbasePendingBlockNumber: uint64(120),
195195 CoinbaseArbitrarySizeLimit: 128,
196196 },
197197 DPOSConfig: DPOSConfig{
@@ -200,13 +200,13 @@ var SoloNetParams = Params{
200200 MinConsensusNodeVoteNum: uint64(100000000000000),
201201 MinVoteOutputAmount: uint64(100000000),
202202 BlockTimeInterval: 500,
203- RoundVoteBlockNums: 1200,
203+ RoundVoteBlockNums: 120,
204204 MaxTimeOffsetMs: 2000,
205205 },
206206 Checkpoints: []Checkpoint{},
207207 ProducerSubsidys: []ProducerSubsidy{
208208 {BeginBlock: 0, EndBlock: 0, Subsidy: 24},
209- {BeginBlock: 1, EndBlock: 840000, Subsidy: 24},
209+ {BeginBlock: 1, EndBlock: 840000, Subsidy: 2400000000},
210210 {BeginBlock: 840001, EndBlock: 1680000, Subsidy: 12},
211211 {BeginBlock: 1680001, EndBlock: 3360000, Subsidy: 6},
212212 },
Show on old repository browser