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

Block share is not marked/returned anymore #61

Closed
ppanther1000 opened this issue Apr 18, 2014 · 2 comments
Closed

Block share is not marked/returned anymore #61

ppanther1000 opened this issue Apr 18, 2014 · 2 comments

Comments

@ppanther1000
Copy link

Hi zone,

this pool server is great work. It's really time to move away from the hard maintainable python solutions.

  1. One of your last version worked well. But now the registed event ...

pool.on('share', function(isValidShare, isValidBlock, data){

... does not deliver any blockshares. Blocks are correctly submitted to coindaemon, but blockshares do not show up anymore with this event. Problem is not limited to a specific coin. Any idea? Regular shares correctly propagate to this event.

  1. You added variable shareDiff. Vardiff difficulty is limit to 512. But some shares occur with shareDiff 1000 or even 5000. Is data.shareDiff calculated correctly and should this diff be used to reward miner instead of data.difficulty?

Thank you very much,
PPanther

@zone117x
Copy link
Owner

Oops, that last commit broke block solutions from being emitted. I just pushed a fix so grab the latest code to get this fixed.

Also shareDiff variable is the actual difficulty of the share. Its almost always above the difficulty the miner is set to because the miner submits shares equal to or greater than its target diff. Every once in a while the actual share diff is as high as block diff which is how some shares find blocks.

@liang55
Copy link

liang55 commented Jul 6, 2018

use master branch.
The mining award did not automatically enter the miner's account.
In addition, I found three blocks and received a reward, but there is no Blocks information displayed in the mine.
#153

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

3 participants