Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metropolis Difficulty Bomb Delay #649

Closed
5chdn opened this issue Jun 21, 2017 · 2 comments
Closed

Metropolis Difficulty Bomb Delay #649

5chdn opened this issue Jun 21, 2017 · 2 comments

Comments

@5chdn
Copy link
Contributor

5chdn commented Jun 21, 2017

Update: For implementation see #669


Preamble

EIP: #649
Title: Metropolis Difficulty Bomb Delay
Authors: Afri Schoedon (Champion), Vitalik Buterin (Specification)
Type: Standard Track
Category: Core
Status: Draft
Created: 2017-06-21
Replaces: #186

*Note, I'm just writing down this EIP, I'm not the author. It has been discussed in several all-core-dev meetings. However, it clearly needs an EIP if this should be included in Metropolis. Previously discussed here:

Simple Summary, Abstract, and Motivation

The average block time is 17.49 seconds and slowly increasing due to the difficulty bomb. That makes users sad. This EIP is suggesting to delay the bomb significantly, to reduce average block times below 15 seconds, and to allow more time for Serenity development.

Specification, Rationale, Compatibility, Test Cases, Implementation

To be specified asap: "Idea was that we add special rules to the difficulty calculation to effectively pause the difficulty between different blocks." (Peter)

Copyright

Copyright and related rights waived via CC0.

@Arachnid
Copy link
Contributor

Could you open this as a PR instead of an issue?

@vbuterin
Copy link
Contributor

I recommend, for the purposes of calc_difficulty, we simply replace the use of block.number, as used in the exponential ice age component, with the formula:

fake_block_number = block.number - 3000000 if block.number >= METROPOLIS_FORK_BLKNUM else block.number

This will delay the ice age by 42 million seconds ~= 1.4 years, so we'd be back at 30 second block times at the end of 2018.

5chdn added a commit to 5chdn/EIPs that referenced this issue Jul 11, 2017
5chdn added a commit to 5chdn/EIPs that referenced this issue Jul 11, 2017
5chdn added a commit to 5chdn/EIPs that referenced this issue Jul 11, 2017
5chdn added a commit to 5chdn/EIPs that referenced this issue Aug 25, 2017
5chdn added a commit to 5chdn/EIPs that referenced this issue Aug 26, 2017
5chdn added a commit to 5chdn/EIPs that referenced this issue Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants