diff options
author | sunxiaojun2014 <sunxiaojun-xy@360.cn> | 2017-12-31 19:38:39 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-12-31 19:38:39 +0800 |
commit | 908faf8cd715c873e4b5fdbb7af8d4f496702d84 (patch) | |
tree | 5da488774b499ba6e1f034e1a79720bf7baffbc4 /consensus | |
parent | b9731767af634ff90ae9b387bd035d9bc4b128e3 (diff) | |
download | go-tangerine-908faf8cd715c873e4b5fdbb7af8d4f496702d84.tar.gz go-tangerine-908faf8cd715c873e4b5fdbb7af8d4f496702d84.tar.zst go-tangerine-908faf8cd715c873e4b5fdbb7af8d4f496702d84.zip |
consensus/ethash: fix overdue link (#15786)
Diffstat (limited to 'consensus')
-rw-r--r-- | consensus/ethash/consensus.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 5fe67c851..0a2f1520e 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -381,7 +381,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int { // the difficulty that a new block should have when created at time given the // parent block's time and difficulty. The calculation uses the Homestead rules. func calcDifficultyHomestead(time uint64, parent *types.Header) *big.Int { - // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.mediawiki + // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.md // algorithm: // diff = (parent_diff + // (parent_diff / 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99)) |