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

stratum should disconnect miners if connection to the node is lost #40

Open
traysi opened this issue Apr 23, 2019 · 0 comments
Open

stratum should disconnect miners if connection to the node is lost #40

traysi opened this issue Apr 23, 2019 · 0 comments

Comments

@traysi
Copy link

traysi commented Apr 23, 2019

You can setup a coin daemon, get it up to the top of the chain and verify that getblocktemplate is working properly. Then start up your s-nomp instance for that coin and it will connect and after that, it will allow miners to connect and start mining.

If some time after that the coin daemon becomes unavailable and getblocktemplate fails, s-nomp will reject all new connections to the pool until the problem with the coin daemon is resolved. That is the proper behavior.

Existing connections, however, are not dropped. This has the effect that if a coin daemon dies, all currently connected miners will continue to mine without any indication on their part that there is a problem.

The code should be updated to disconnect all existing miners if getblocktemplate fails.

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

1 participant