EIP-1295 · Stagnant · Core · 2018-08-05
EIP-1295: Modify Ethereum PoW Incentive Structure and Delay Difficulty Bomb
A 2018 proposal for Constantinople that would have delayed the difficulty bomb and cut uncle and nephew rewards while keeping the 3 ETH block reward; the competing EIP-1234 was adopted instead.
What problem does it solve?
Under proof of work, Ethereum had a "difficulty bomb": a term in the difficulty formula that grows exponentially with block number, slowing blocks down until a hard fork resets it. It existed to force regular upgrades. Ahead of the Constantinople fork the bomb needed delaying again, and there was debate about how much new ETH miners should receive.
EIP-1295 proposed a specific trade-off: keep the headline block reward at 3 ETH to protect miner incentives, but reduce the "ancillary" issuance paid for uncle blocks and remove nephew rewards entirely. Using 2018 data, the author argued uncle-related rewards were adding roughly 17 % on top of block rewards.
How it works
Two consensus changes from the fork block:
- Bomb delay. When computing the exponential "ice age" part of difficulty, clients use a fake block number 6,000,000 lower than the real one.
- Reward changes. The uncle reward becomes
(3 - k) * block_reward / 8, wherekis how many blocks older the uncle is than the including block. With a 3 ETH reward that gives 0.75 ETH fork = 1and 0.375 ETH fork = 2; deeper uncles earn nothing. The nephew reward (the bonus for including an uncle) becomes 0.
The block reward itself stays at 3 ETH.
Sample code
The rules as pseudocode, following the spec:
FORK_BLOCK = CNSTNTNPL_FORK_BLKNUM
BLOCK_REWARD = 3 * 10**18 # unchanged, in wei
def bomb_block_number(block_number):
if block_number >= FORK_BLOCK:
return max(0, block_number - 6_000_000)
return block_number
def uncle_reward(block_number, uncle_number):
k = block_number - uncle_number
if block_number >= FORK_BLOCK:
return max(0, (3 - k) * BLOCK_REWARD // 8) # k=1 -> 0.75 ETH, k=2 -> 0.375 ETH
return (8 - k) * BLOCK_REWARD // 8 # pre-fork formula
def nephew_reward(block_number):
return 0 if block_number >= FORK_BLOCK else BLOCK_REWARD // 32
Things to know
- Status is Stagnant. It was not adopted. Constantinople (EIP-1013) instead included EIP-1234, which delayed the bomb and lowered the block reward from 3 to 2 ETH. The previous delay is in EIP-649.
- The issuance figures in the spec are the author's estimates from 2018 year-to-date data, not protocol constants.
- All of this is historical: since The Merge, Ethereum uses proof of stake, and there are no mining rewards, uncles or difficulty bomb.