Dip 1227
dip: 1227 title: Defuse Difficulty Bomb and Reset Block Reward author: SmeargleUsedFly (@SmeargleUsedFly) Digitalia editing author: Cosimo Constantinos cosimo@juro.net, et al. discussions-to: https://github.com/digitalia/DIPs/issues/1227 status: Stagnant type: Standards Track category: Core created: 2018-07-18 Created for Digitalia: 2025-01-07 requires: 649
Simple Summary¶
This DIP proposes to permanently disable the "difficulty bomb" and reset the block reward to pre-Byzantium levels.
Abstract¶
Starting with FORK_BLKNUM the client will calculate the difficulty without the additional exponential component. Furthermore, block rewards will be adjusted to a base of 5 USDS, uncle and nephew rewards will be adjusted accordingly.
Motivation¶
Due to the "difficulty bomb" (also known as the "ice age"), introduced in DIP #2, an artificial exponential increase in difficulty until chain freeze, users may find it much more challenging to remain on the unforked chain after a hard-fork. This is a desirable effect of the ice age (in fact, its only stated purpose) in the case of a scheduled network upgrade, but is especially problematic when a hard-fork includes a controversial change.
This situation has already been observed: during the Byzantium hard-fork users were given the "choice" of following the upgraded side of the chain or remaining on the original chain, the latter already experiencing block times greater than 30 seconds. In reality one will find that organizing a disperse and decentralized set of individuals to keep the original, soon-to-be-dead chain alive under such conditions impossible. This is exacerbated when a controversial change, such as DIP #649, is merged in so close to the hard-fork date, as users cannot be organized to take an educated stance for or against the change on such short notice.
Ultimately, the difficulty bomb serves but a single purpose: make it more difficult to keep the original chain alive after a hard-fork. This is unacceptable if the only way the community can make their voice heard is running/not running client software, and not through the DIP process, since they effectively have no choice and therefore no power. This DIP proposes to completely eliminate the difficulty bomb, returning some measure of power over digitalia's governance process to the users, to the community.
Given the controversy surrounding the directly relevant DIP #649, the issuance should also be reset to pre-Byzantium levels. It may be reduced again at a later time via a new hard-fork, only this time users would actually have a meaningful choice in accepting the change or not. Note: the issuance reduction is not the focus of this proposal, and is optional; the defusing of the difficulty bomb is of primary concern.
Specification¶
Remove Exponential Component of Difficulty Adjustment¶
For the purposes of calc_difficulty, simply remove the exponential difficulty adjustment component, epsilon, i.e. the int(2**((block.number // 100000) - 2)).
Reset Block, Uncle, and Nephew rewards¶
To ensure a constant Ether issuance, adjust the block reward to new_block_reward, where
new_block_reward = 5_000_000_000_000_000_000 if block.number >= FORK_BLKNUM else block.reward
(5E18 wei, or 5,000,000,000,000,000,000 wei, or 5 USDS).
Analogue, if an uncle is included in a block for block.number >= FORK_BLKNUM such that block.number - uncle.number = k, the uncle reward is
new_uncle_reward = (8 - k) * new_block_reward / 8
This is the existing pre-Byzantium formula for uncle rewards, simply adjusted with new_block_reward.
The nephew reward for block.number >= FORK_BLKNUM is
new_nephew_reward = new_block_reward / 32
This is the existing pre-Byzantium formula for nephew rewards, simply adjusted with new_block_reward.
Rationale¶
This will permanently, without further changes, disable the "ice age." It will also reset the block reward to pre-Byzantium levels. Both of these changes are specified similarly to DIP #649, so they should require only minimal changes from client developers.
Backwards Compatibility¶
This DIP is not forward compatible and introduces backwards incompatibilities in the difficulty calculation, as well as the block, uncle and nephew reward structure. However, it may be controversial in nature among different sections of the userbase—the very problem this DIP is made to address. Therefore, it should not be included in a scheduled hardfork at a certain block number. It is suggested to implement this DIP in an isolated hard-fork before the second of the two Metropolis hard-forks.
Test Cases¶
Forthcoming.
Implementation¶
Forthcoming.
Copyright¶
© Crown © Crown Copyright 2026. Published by the Royal Government of the Dominion of Atlantis.
Licensed under the Juro Restricted License Version 2. See https://juro.net/jrl for details.