diff --git a/params/protocol_params.go b/params/protocol_params.go index 365228f1f3..201088468c 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -161,7 +161,7 @@ var ( LighthouseDurationLimit = big.NewInt(7) // The decision boundary on the blocktime duration used to determine whether difficulty should go up or not. LocalDurationLimit = big.NewInt(2) // The decision boundary on the blocktime duration used to determine whether difficulty should go up or not. TimeFactor = big.NewInt(7) - PrimeEntropyTarget = big.NewInt(441) // This is TimeFactor*TimeFactor*common.NumZonesInRegion*common.NumRegionsInPrime + PrimeEntropyTarget = big.NewInt(100) // This is TimeFactor*TimeFactor*common.NumZonesInRegion*common.NumRegionsInPrime RegionEntropyTarget = big.NewInt(21) // This is TimeFactor*common.NumZonesInRegion DifficultyAdjustmentPeriod = big.NewInt(360) // This is the number of blocks over which the average has to be taken DifficultyAdjustmentFactor int64 = 40 // This is the factor that divides the log of the change in the difficulty diff --git a/quai/handler.go b/quai/handler.go index 02824bd743..0b39e2d619 100644 --- a/quai/handler.go +++ b/quai/handler.go @@ -15,7 +15,7 @@ const ( // c_missingBlockChanSize is the size of channel listening to the MissingBlockEvent c_missingBlockChanSize = 60 // c_checkNextPrimeBlockInterval is the interval for checking the next Block in Prime - c_checkNextPrimeBlockInterval = 60 * time.Second + c_checkNextPrimeBlockInterval = 10 * time.Second // c_txsChanSize is the size of channel listening to the new txs event c_newTxsChanSize = 100 )