Golang implemented sidechain for Bytom
Revision | eccbe23c0037b767747d97fc9f96ec063496457f (tree) |
---|---|
Zeit | 2020-01-09 17:26:38 |
Autor | EC2 Default User <ec2-user@ip-1...> |
Commiter | EC2 Default User |
test config
@@ -190,8 +190,8 @@ var SoloNetParams = Params{ | ||
190 | 190 | DefaultGasCredit: int64(160000), |
191 | 191 | StorageGasRate: int64(1), |
192 | 192 | VMGasRate: int64(200), |
193 | - VotePendingBlockNumber: uint64(10000), | |
194 | - CoinbasePendingBlockNumber: uint64(1200), | |
193 | + VotePendingBlockNumber: uint64(100), | |
194 | + CoinbasePendingBlockNumber: uint64(120), | |
195 | 195 | CoinbaseArbitrarySizeLimit: 128, |
196 | 196 | }, |
197 | 197 | DPOSConfig: DPOSConfig{ |
@@ -200,13 +200,13 @@ var SoloNetParams = Params{ | ||
200 | 200 | MinConsensusNodeVoteNum: uint64(100000000000000), |
201 | 201 | MinVoteOutputAmount: uint64(100000000), |
202 | 202 | BlockTimeInterval: 500, |
203 | - RoundVoteBlockNums: 1200, | |
203 | + RoundVoteBlockNums: 120, | |
204 | 204 | MaxTimeOffsetMs: 2000, |
205 | 205 | }, |
206 | 206 | Checkpoints: []Checkpoint{}, |
207 | 207 | ProducerSubsidys: []ProducerSubsidy{ |
208 | 208 | {BeginBlock: 0, EndBlock: 0, Subsidy: 24}, |
209 | - {BeginBlock: 1, EndBlock: 840000, Subsidy: 24}, | |
209 | + {BeginBlock: 1, EndBlock: 840000, Subsidy: 2400000000}, | |
210 | 210 | {BeginBlock: 840001, EndBlock: 1680000, Subsidy: 12}, |
211 | 211 | {BeginBlock: 1680001, EndBlock: 3360000, Subsidy: 6}, |
212 | 212 | }, |