-
Notifications
You must be signed in to change notification settings - Fork 27
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
Simple EMA difficulty algorithm #21
Comments
This was referenced Jan 14, 2018
This was referenced Mar 20, 2018
aivve
added a commit
to seredat/karbowanec
that referenced
this issue
Mar 22, 2018
aivve
added a commit
to seredat/karbowanec
that referenced
this issue
Mar 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably better than 95% of all difficulty algorithms currently in use. This has half as many delays and blocks lost to big miners as Digishield. It's a few steps above a simple moving average. See EMA-Z for full discussion of EMA math.
Email me at zawy@yahoo.com before you go to testnet to show me your code. If you have a public api send me link to it so that it can be included in the Difficulty Watch page.
Cryptonote coin need to apply the Jagerman MTP Patch You can read his summary of it here and full background and description is here. All Cryptonote coins need to do this ASAP. It does not require a fork.
Cryptonote coins might use the following (I'll edit this later after someone has told me it works or fails in testnet):
Similarity to Digishield's tempered SMA
Just out of mathematical interest, re-arranging Digishield's math gives:
next_D = avg(17 D) * 4 / ( 3 + avg(17 ST)/T)
The simplified EMA with a similar speed of response is
next_D = prev_D * 36 / ( 35 + prev_ST/T)
The text was updated successfully, but these errors were encountered: