{"eip":1240,"title":"Remove Difficulty Bomb","description":"The average block times are increasing due to the difficulty bomb (also known as the \"ice age\") slowly accelerating. This EIP proposes to remove the difficulty increase over time and replace it with a fixed difficulty targeting 15 second blocks.","authors":["Micah Zoltu (@MicahZoltu)"],"status":"Withdrawn","type":"Standards Track","category":"Core","created":"2018-07-21","discussionsTo":"https://ethereum-magicians.org/t/difficulty-bomb-removal/832","repo":"EIPs","label":"EIP-1240","officialUrl":"https://eips.ethereum.org/EIPS/eip-1240","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1240.md","url":"https://eips.huatuo.xyz/eip-1240/","tldr":{"en":"A withdrawn 2018 proposal to delete Ethereum's proof-of-work difficulty bomb outright, so moving to proof of stake would be a choice rather than something forced by ever-slower blocks.","ja":"2018 年に取り下げられた、Ethereum のプルーフ・オブ・ワークの難易度爆弾を完全に削除する提案。ブロックがどんどん遅くなることで強制されるのではなく、プルーフ・オブ・ステークへの移行を選択にしようとした。","ko":"2018년에 철회된, 이더리움의 작업 증명 난이도 폭탄을 아예 삭제하자는 제안. 지분 증명으로의 전환이 점점 느려지는 블록에 떠밀린 것이 아니라 선택이 되도록 하려 했다.","zh":"一个 2018 年被撤回的提案，主张彻底删除以太坊工作量证明的难度炸弹，使转向权益证明成为一种选择，而不是由越来越慢的区块所迫。"},"tags":["difficulty-bomb","pow","core","withdrawn","governance"],"explainers":{"en":{"lang":"en","tldr":"A withdrawn 2018 proposal to delete Ethereum's proof-of-work difficulty bomb outright, so moving to proof of stake would be a choice rather than something forced by ever-slower blocks.","tags":["difficulty-bomb","pow","core","withdrawn","governance"],"related":[649,1234,2384,3675],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-1240/","markdown":"## What problem does it solve?\n\nEthereum's proof-of-work difficulty formula included an exponentially growing \"bomb\" term (the *ice age*). As it grew, blocks took longer and longer to mine, pressuring the community to keep upgrading and, eventually, to switch to proof of stake. By mid-2018 block times were visibly rising.\n\nMicah Zoltu argued the bomb rests on a wrong assumption: that miners decide which chain economic users run. In his view miners follow users, because a chain nobody uses has no value. If the developers wanted Casper (proof of stake), users should choose it freely rather than be pushed by an artificial deadline. So instead of delaying the bomb again, EIP-1240 proposed removing it.\n\n## How it works\n\nFrom a fork block onward, the bomb term (called *epsilon*) in `calc_difficulty` is set to `0` instead of being a function of the block number. The regular difficulty adjustment, which reacts to block timestamps and keeps block times near target, continues unchanged. The result would have been a difficulty that no longer drifts upward over time.\n\nBecause it changes the difficulty calculation, it is not backwards compatible and would have needed a scheduled hard fork.\n\n## Sample code\n\nSimplified pseudocode of the PoW difficulty calculation and where the change applies:\n\n```python\ndef calc_difficulty(parent, block):\n    # Regular adjustment: keeps block time near target (details vary per fork)\n    adjustment = parent.difficulty // 2048 * time_adjustment_factor(parent, block)\n    difficulty = parent.difficulty + adjustment\n\n    # The \"bomb\" (epsilon)\n    if block.number \u003e= FORK_BLOCK_NUMBER:   # EIP-1240\n        epsilon = 0\n    else:\n        period = (block.number - BOMB_DELAY) // 100_000\n        epsilon = 2 ** (period - 2) if period \u003e= 2 else 0\n\n    return max(difficulty + epsilon, MIN_DIFFICULTY)\n```\n\n## Things to know\n\n- Status is **Withdrawn**. It was never activated.\n- Instead, Ethereum repeatedly *delayed* the bomb in hard forks, for example [EIP-649](/eip-649/) (Byzantium), [EIP-1234](/eip-1234/) (Constantinople) and [EIP-2384](/eip-2384/) (Muir Glacier), with further delays after that.\n- The question became moot with the Merge ([EIP-3675](/eip-3675/)): under proof of stake there is no PoW difficulty, so the bomb no longer has any effect on mainnet.\n- The proposal is mainly of historical interest: it records the argument that a protocol should not contain a forcing function to push users toward upgrades.\n"},"ja":{"lang":"ja","tldr":"2018 年に取り下げられた、Ethereum のプルーフ・オブ・ワークの難易度爆弾を完全に削除する提案。ブロックがどんどん遅くなることで強制されるのではなく、プルーフ・オブ・ステークへの移行を選択にしようとした。","tags":["difficulty-bomb","pow","core","withdrawn","governance"],"related":[649,1234,2384,3675],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-1240/","markdown":"## 何を解決するのか\n\nEthereum のプルーフ・オブ・ワークの難易度の計算式には、指数関数的に増大する「爆弾」の項（*ice age*）が含まれていました。これが大きくなるにつれ、ブロックのマイニングにかかる時間はどんどん長くなり、コミュニティはアップグレードを続け、最終的にはプルーフ・オブ・ステークへ切り替えるよう迫られました。2018 年半ばには、ブロック時間が目に見えて延びていました。\n\nMicah Zoltu は、爆弾が誤った前提に立っていると主張しました。つまり、経済的なユーザーがどのチェーンを使うかをマイナーが決める、という前提です。彼の見方では、誰も使わないチェーンには価値がないため、マイナーはユーザーに従います。開発者が Casper（プルーフ・オブ・ステーク）を望むなら、人為的な期限で押し付けるのではなく、ユーザーが自由に選ぶべきです。そこで EIP-1240 は、爆弾をまた遅らせる代わりに、取り除くことを提案しました。\n\n## 仕組み\n\nフォークのブロック以降、`calc_difficulty` 内の爆弾の項（*epsilon* と呼ばれます）は、ブロック番号の関数ではなく `0` に設定されます。ブロックのタイムスタンプに反応してブロック時間を目標付近に保つ通常の難易度調整は、そのまま続きます。結果として、難易度は時間とともに上昇し続けることがなくなります。\n\n難易度の計算が変わるため、後方互換ではなく、予定されたハードフォークが必要でした。\n\n## サンプルコード\n\nPoW の難易度計算を簡略化した擬似コードと、変更が適用される箇所:\n\n```python\ndef calc_difficulty(parent, block):\n    # Regular adjustment: keeps block time near target (details vary per fork)\n    adjustment = parent.difficulty // 2048 * time_adjustment_factor(parent, block)\n    difficulty = parent.difficulty + adjustment\n\n    # The \"bomb\" (epsilon)\n    if block.number \u003e= FORK_BLOCK_NUMBER:   # EIP-1240\n        epsilon = 0\n    else:\n        period = (block.number - BOMB_DELAY) // 100_000\n        epsilon = 2 ** (period - 2) if period \u003e= 2 else 0\n\n    return max(difficulty + epsilon, MIN_DIFFICULTY)\n```\n\n## 知っておくべきこと\n\n- ステータスは **Withdrawn** です。有効化されたことはありません。\n- 代わりに Ethereum は、ハードフォークのたびに爆弾を繰り返し*遅らせ*ました。たとえば [EIP-649](/eip-649/)（Byzantium）、[EIP-1234](/eip-1234/)（Constantinople）、[EIP-2384](/eip-2384/)（Muir Glacier）があり、その後もさらに延期されました。\n- この問題は The Merge（[EIP-3675](/eip-3675/)）によって意味を失いました。プルーフ・オブ・ステークの下では PoW の難易度がないため、爆弾はメインネットにもはや影響しません。\n- この提案は主に歴史的な関心の対象です。プロトコルは、ユーザーをアップグレードへ押しやる強制機構を含むべきではない、という議論を記録しています。\n"},"ko":{"lang":"ko","tldr":"2018년에 철회된, 이더리움의 작업 증명 난이도 폭탄을 아예 삭제하자는 제안. 지분 증명으로의 전환이 점점 느려지는 블록에 떠밀린 것이 아니라 선택이 되도록 하려 했다.","tags":["difficulty-bomb","pow","core","withdrawn","governance"],"related":[649,1234,2384,3675],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-1240/","markdown":"## 어떤 문제를 해결하나요?\n\n이더리움의 작업 증명 난이도 공식에는 기하급수적으로 커지는 \"폭탄\" 항(*ice age*)이 들어 있었습니다. 폭탄이 커질수록 블록을 채굴하는 데 걸리는 시간이 점점 길어졌고, 커뮤니티는 계속 업그레이드하도록, 그리고 결국에는 지분 증명으로 전환하도록 압박을 받았습니다. 2018년 중반에는 블록 시간이 눈에 띄게 늘고 있었습니다.\n\nMicah Zoltu는 폭탄이 잘못된 가정 위에 서 있다고 주장했습니다. 경제적 사용자가 어떤 체인을 쓸지 채굴자가 결정한다는 가정입니다. 그의 관점에서는 아무도 쓰지 않는 체인은 가치가 없으므로 채굴자가 사용자를 따릅니다. 개발자들이 Casper(지분 증명)를 원한다면 인위적인 마감 기한으로 밀어붙일 것이 아니라 사용자가 자유롭게 선택해야 합니다. 그래서 EIP-1240은 폭탄을 또다시 늦추는 대신 제거하자고 제안했습니다.\n\n## 어떻게 동작하나요?\n\n포크 블록부터는 `calc_difficulty`의 폭탄 항(*epsilon*이라 부릅니다)이 블록 번호의 함수가 아니라 `0`으로 설정됩니다. 블록 타임스탬프에 반응해 블록 시간을 목표 근처로 유지하는 일반 난이도 조정은 그대로 계속됩니다. 그 결과 난이도가 시간이 지나도 더 이상 위로 쏠리지 않게 됩니다.\n\n난이도 계산을 바꾸기 때문에 하위 호환이 되지 않으며, 예정된 하드포크가 필요했을 것입니다.\n\n## 샘플 코드\n\nPoW 난이도 계산을 단순화한 의사 코드와 변경이 적용되는 위치:\n\n```python\ndef calc_difficulty(parent, block):\n    # Regular adjustment: keeps block time near target (details vary per fork)\n    adjustment = parent.difficulty // 2048 * time_adjustment_factor(parent, block)\n    difficulty = parent.difficulty + adjustment\n\n    # The \"bomb\" (epsilon)\n    if block.number \u003e= FORK_BLOCK_NUMBER:   # EIP-1240\n        epsilon = 0\n    else:\n        period = (block.number - BOMB_DELAY) // 100_000\n        epsilon = 2 ** (period - 2) if period \u003e= 2 else 0\n\n    return max(difficulty + epsilon, MIN_DIFFICULTY)\n```\n\n## 알아둘 점\n\n- 상태는 **Withdrawn**입니다. 활성화된 적이 없습니다.\n- 대신 이더리움은 하드포크에서 폭탄을 반복적으로 *늦췄습니다*. 예를 들어 [EIP-649](/eip-649/)(Byzantium), [EIP-1234](/eip-1234/)(Constantinople), [EIP-2384](/eip-2384/)(Muir Glacier)가 있고, 그 뒤로도 추가 연기가 있었습니다.\n- 이 문제는 The Merge([EIP-3675](/eip-3675/))로 의미가 없어졌습니다. 지분 증명에서는 PoW 난이도가 없으므로 폭탄은 메인넷에 더 이상 아무 영향도 주지 않습니다.\n- 이 제안은 주로 역사적인 관심의 대상입니다. 프로토콜에는 사용자를 업그레이드로 떠미는 강제 장치가 들어 있어서는 안 된다는 논거를 기록하고 있습니다.\n"},"zh":{"lang":"zh","tldr":"一个 2018 年被撤回的提案，主张彻底删除以太坊工作量证明的难度炸弹，使转向权益证明成为一种选择，而不是由越来越慢的区块所迫。","tags":["difficulty-bomb","pow","core","withdrawn","governance"],"related":[649,1234,2384,3675],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-1240/","markdown":"## 它解决什么问题？\n\n以太坊工作量证明的难度公式包含一个呈指数增长的\"炸弹\"项（即 *ice age*）。随着它不断增大，挖出区块所需的时间越来越长，迫使社区不断升级，并最终转向权益证明。到 2018 年年中，出块时间已明显变长。\n\nMicah Zoltu 认为，炸弹建立在一个错误的假设之上：即矿工决定经济用户运行哪条链。在他看来，矿工追随用户，因为没人使用的链没有价值。如果开发者想要 Casper（权益证明），应该由用户自由选择，而不是被人为设定的期限推着走。因此，EIP-1240 提议的不是再次推迟炸弹，而是将它移除。\n\n## 它如何运作\n\n从某个分叉区块开始，`calc_difficulty` 中的炸弹项（称为 *epsilon*）被设为 `0`，而不再是区块号的函数。根据区块时间戳作出反应、使出块时间保持在目标附近的常规难度调整照常继续。其结果是难度不再随时间不断上漂。\n\n因为它改变了难度计算，所以不向后兼容，需要一次预定的硬分叉。\n\n## 示例代码\n\n工作量证明难度计算的简化伪代码，以及该改动适用的位置：\n\n```python\ndef calc_difficulty(parent, block):\n    # Regular adjustment: keeps block time near target (details vary per fork)\n    adjustment = parent.difficulty // 2048 * time_adjustment_factor(parent, block)\n    difficulty = parent.difficulty + adjustment\n\n    # The \"bomb\" (epsilon)\n    if block.number \u003e= FORK_BLOCK_NUMBER:   # EIP-1240\n        epsilon = 0\n    else:\n        period = (block.number - BOMB_DELAY) // 100_000\n        epsilon = 2 ** (period - 2) if period \u003e= 2 else 0\n\n    return max(difficulty + epsilon, MIN_DIFFICULTY)\n```\n\n## 需要注意\n\n- 状态为 **Withdrawn**。它从未被激活。\n- 以太坊反而在硬分叉中一再*推迟*炸弹，例如 [EIP-649](/eip-649/)（Byzantium）、[EIP-1234](/eip-1234/)（Constantinople）和 [EIP-2384](/eip-2384/)（Muir Glacier），此后还有进一步的推迟。\n- 随着合并（Merge，[EIP-3675](/eip-3675/)），这个问题变得无关紧要：在权益证明下不存在 PoW 难度，因此炸弹对主网不再有任何影响。\n- 该提案主要具有历史意义：它记录了这样一种论点，即协议不应包含推动用户升级的强制机制。\n"}}}
