Skip to content

1099 miner DAG pre-generation fix#212

Merged
iquidus merged 3 commits intoetclabscore:masterfrom
iquidus:dev/dag-pregen
Oct 15, 2020
Merged

1099 miner DAG pre-generation fix#212
iquidus merged 3 commits intoetclabscore:masterfrom
iquidus:dev/dag-pregen

Conversation

@iquidus
Copy link
Copy Markdown
Contributor

@iquidus iquidus commented Oct 15, 2020

Fixes an issue with pre-generation in which a miner would pre-generate epoch + 1 always. This is correct behaviour with the exception of the activation of 1099, in which the miner should pre-generate (epoch+1) / 2.

This PR adds additional logic to properly handle the activation of ecip-1099.

@meowsbits
Copy link
Copy Markdown
Contributor

meowsbits commented Oct 15, 2020

Is there an existing test for this issue? Is it possible to add one? Desirable to?

@iquidus iquidus merged commit 8339c8f into etclabscore:master Oct 15, 2020
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