Skip to content
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

Improve difficulty adjustment algorithm #44

Open
macterra opened this issue May 28, 2019 · 2 comments
Open

Improve difficulty adjustment algorithm #44

macterra opened this issue May 28, 2019 · 2 comments
Assignees

Comments

@macterra
Copy link
Contributor

Tesseract currently uses the Dark Gravity Wave difficulty adjustment algorithm, adapted from RavenCoin. It seems to do a decent job of adjusting the difficulty to changes in hashpower but it does display a fair amount of volatility when hashpower remains constant.

image

It is possible that replacing the algorithm with a discrete PID controller would improve the behavioral characteristics.

@macterra macterra self-assigned this May 28, 2019
@Flaxscrip
Copy link
Contributor

Applying a PID controller algorithm to mining difficulty might be a first in the crypto space. Are there small steps we could do to test the concept?

@macterra
Copy link
Contributor Author

Yes, the first step would be to develop a block mining simulation that could be used to easily test different PID parameters. The effort is likely on the order of a couple days to program a barebones prototype in python.

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

No branches or pull requests

2 participants