mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
...
This commit is contained in:
parent
167f5d128b
commit
32fb7753c8
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue