-
Notifications
You must be signed in to change notification settings - Fork 157
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
ecip 1099 #186
ecip 1099 #186
Conversation
One thing im unsure on is how much we want to ethash > etchash. imo anything additional is primarily cosmetic, and adds burden to future maintenance. i.e renaming the consensus engine. |
Yea, wherever (in the code) the name doesn't serve an important and functional distinction, I would use |
|
||
case (ctx.GlobalBool(ClassicFlag.Name) || ctx.GlobalBool(MordorFlag.Name)) && cfg.Ethash.DatasetDir == eth.DefaultConfig.Ethash.DatasetDir: | ||
// ECIP-1099 is set, use etchash dir for DAGs instead | ||
home := os.Getenv("HOME") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This copy-pasta will be able to be replaced with an exported HomeDir
function, coming from https://github.com/etclabscore/core-geth/pull/191/files#diff-fdd625b1499a66d8f93635113abdd5e0R202.
🎉
The results of a benchmark comparison on the
|
…tests Signed-off-by: meows <[email protected]>
0bda5d7
to
107dfff
Compare
Need to fix the fork tests |
96fc7ee removed the activation, for now. This commit fixes the tests for that. Signed-off-by: meows <[email protected]>
Implements ECIP-1099 (Calibrate Epoch Duration) specified at ethereumclassic/ECIPs#367