From 32fb7753c81e30858f46dcf46f7ee6bd2a8e93a8 Mon Sep 17 00:00:00 2001 From: Derek May <32908855+riddlez666@users.noreply.github.com> Date: Fri, 16 Mar 2018 15:57:04 -0700 Subject: [PATCH] ... --- consensus/ethash/consensus.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index e29803562d..007c7aeb1e 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -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)