This commit is contained in:
Derek May 2018-03-16 15:57:04 -07:00
parent 167f5d128b
commit 32fb7753c8

View file

@ -335,6 +335,13 @@ var (
)
// EGEM Era Difficulty Algo
// Per block calculation.
//
// 50% Adjustment from 0 - 5000
// 20% Adjustment from 5001 - 10,000,000
// 15% Adjustment from 10,000,001 - 20,000,000
// 10% Adjusment from 20,000,001 +
//
func calcDifficultyEGEM(time uint64, parent *types.Header) *big.Int {
diff := new(big.Int)