Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
Change Prime settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Djadih committed Mar 20, 2024
1 parent 095e559 commit 2bed822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion params/protocol_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion quai/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 2bed822

Please sign in to comment.