Skip to content

Commit

Permalink
Add EIP-3554 change
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Dec 29, 2021
1 parent 784c7af commit 9a01b73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yellowpaper.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ Yellow Paper
- byzantium: c = max(2 if parent has uncles else 1 - floor((timestamp - parent timestamp) / 9), -99)
- This change makes difficulty adjustment proportional to ETH issued & hashpower spent on the block, instead of just proportional to timestamp change, which prevents attack vectors with manipulating uncle rate to game the system
- epsilon = floor(2**(floor(block number / 1e5) - 2))
- muir glacier: instead of block_number use block_number - 9_000_000
- Muir Glacier: instead of block_number use block_number - 9_000_000
- London: instead of block_number use block_number - 9_700_000
- difficulty = max(genesis difficulty, parent difficulty + x * c + epsilon)
- This mechanism enforces a homeostasis in terms of the time between blocks; a smaller period between the last two blocks results in an increase in the difficulty level and thus additional computation required, lengthening the likely next period. Conversely, if the period is too large, the difficulty, and expected time to the next block, is reduced.
- The expected time to find the nonce & mixHash is proportional to the difficulty
Expand Down

0 comments on commit 9a01b73

Please # to comment.