Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Difficulty bomb defusion implementation #408

Closed
wants to merge 2 commits into from
Closed

Difficulty bomb defusion implementation #408

wants to merge 2 commits into from

Conversation

sorpaas
Copy link
Contributor

@sorpaas sorpaas commented Nov 16, 2017

(Please review but do not merge.)

Related to ethereumproject/ECIPs#80

For Parity the bomb defusion functionality is already implemented.

Copy link
Member

@elaineo elaineo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's spelled "Defuse" but otherwise everything looks good :)

// algorithm:
// diff = (parent_diff +
// (parent_diff / 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99))
// ) + 2^(periodCount - 2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're removing this factor, right?

@sorpaas sorpaas changed the title Difficulty bomb diffusion implementation Difficulty bomb defusion implementation Nov 16, 2017
@sorpaas
Copy link
Contributor Author

sorpaas commented Nov 16, 2017

Let's move the discussion over to #409

@sorpaas sorpaas closed this Nov 16, 2017
@whilei whilei deleted the diffused branch February 19, 2018 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants