Skip to content

consensus: implement Constantinople EIP 1234#17657

Closed
ghost wants to merge 1 commit into
masterfrom
unknown repository
Closed

consensus: implement Constantinople EIP 1234#17657
ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 12, 2018

@ghost ghost requested a review from karalabe as a code owner September 12, 2018 10:49
@holiman
Copy link
Copy Markdown
Contributor

holiman commented Sep 12, 2018

Thanks! Instead of copy-pasting the diff calc, with a change of constant, might be nicer to have a factory create both calcdifficultyXX-methods in init. So you call it like:
calcDifficultyConstantinople = createDiffCalc(big49999)

@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 12, 2018

@holiman Yes and you should refactor the code starting from func CalcDifficulty which will be very dirty with eip100 part 😄

@holiman holiman mentioned this pull request Sep 15, 2018
@karalabe
Copy link
Copy Markdown
Member

Closing in favor of #17675

@karalabe karalabe closed this Sep 17, 2018
@ghost ghost deleted the eip1234 branch September 17, 2018 12:55
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

Successfully merging this pull request may close these issues.

2 participants