Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DifficultyBoundDivisor is the bound divisor of the difficulty, // used in the update calculations. DifficultyBoundDivisor = big.NewInt(2048) // DurationLimit is the decision boundary on the blocktime duration used to // determine whether difficulty should go up or not. DurationLimit = big.NewInt(120) // MinimumDifficulty is the minimum that the difficulty may ever be. MinimumDifficulty = big.NewInt(100000) // MinimumDurationIncrease is the minimum percent increase // of a new block time in relation to its parent block time. // Formula: (((DurationLimit+1)-DurationLimit)/DurationLimit) * 100 MinimumDurationIncrease = big.NewFloat(0.8) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.