diff --git a/yellowpaper.md b/yellowpaper.md index 4c5b7a4..adc7da6 100644 --- a/yellowpaper.md +++ b/yellowpaper.md @@ -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