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

Handle not-enough-votes response in a more friendly way #5

Open
pgerzani opened this issue Sep 23, 2020 · 1 comment
Open

Handle not-enough-votes response in a more friendly way #5

pgerzani opened this issue Sep 23, 2020 · 1 comment
Assignees

Comments

@pgerzani
Copy link

Currently, when getblocktemplate returns the not-enough-votes response and is a 500 error, the miner log shows just that it was a 500 error:

[2020-09-23 02:08:43] HTTP request failed: The requested URL returned error: 500 Internal Server Error
[2020-09-23 02:08:43] HTTP request failed: The requested URL returned error: 500 Internal Server Error

It would be best if instead it said:

[2020-09-23 02:08:43] Waiting for new work -- Not enough votes for currently block

or something comparable. This likely will change when we switch it to continue mining on the previous block as well, but I figured it would be a quick fix regardless.

@sebastianrusu
Copy link

Resolved in #7.

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