OSDN Git Service

change the config for prod (#310)
[bytom/vapor.git] / consensus / general.go
index 0a399c2..6b5a317 100644 (file)
@@ -105,7 +105,7 @@ func VaporDPOSConfig() DPOSConfig {
                NumOfConsensusNode:      10,
                BlockNumEachNode:        12,
                MinConsensusNodeVoteNum: uint64(100000000000000),
-               MinVoteOutputAmount:     uint64(100000000),
+               MinVoteOutputAmount:     uint64(10000000000),
                BlockTimeInterval:       500,
        }
 
@@ -132,7 +132,7 @@ var MainNetParams = Params{
        DNSSeeds:        []string{"www.mainnetseed.vapor.io"},
        BasicConfig: BasicConfig{
                MaxBlockGas:                uint64(10000000),
-               MaxGasAmount:               int64(200000),
+               MaxGasAmount:               int64(640000),
                DefaultGasCredit:           int64(160000),
                StorageGasRate:             int64(1),
                VMGasRate:                  int64(200),
@@ -143,7 +143,7 @@ var MainNetParams = Params{
        DPOSConfig:  VaporDPOSConfig(),
        Checkpoints: []Checkpoint{},
        ProducerSubsidys: []ProducerSubsidy{
-               {BeginBlock: 1, EndBlock: 63072000, Subsidy: 15000000},
+               {BeginBlock: 1, EndBlock: 63072000, Subsidy: 9512938},
        },
 }