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

handleShare never called - pool never accepts any shares.. #42

Open
g00dnatur3 opened this issue May 18, 2019 · 2 comments
Open

handleShare never called - pool never accepts any shares.. #42

g00dnatur3 opened this issue May 18, 2019 · 2 comments

Comments

@g00dnatur3
Copy link

So i setup the pool, tried to follow all the directions.. etc.

But the pool never calls handleShare and this never accepts any shares

i tried this code inside shareProcessor:

    this.handleShare = function(isValidShare, isValidBlock, shareData){

        console.log()
        console.log('handleShare', `isValidShare: ${isValidShare}`, `isValidBlock: ${isValidBlock}`, 'shareData:', shareData)
        console.log()

I have redis setup, everything looks good, I cant figure out why this is happening...

Any help would be much obliged

Thank You

@AionMiner
Copy link

You'll only get an accepted share upon finding a block. This may take quite some time depending on your hashrate - for reference if you had a single 1080Ti mining at 250 Sol/s, with current difficulty you'd be lucky to find 1 or 2 blocks every 24 hours.

@g00dnatur3
Copy link
Author

OK Please try to follow me, with all respect possible:

inside the libs directory there is a file called shareProcessor.js,
and inside this file there is a function called handleShare

this function should be called for EVERY VALID share, regardless if it finds a block or not.

this function is NEVER called...

i dont even think the equihash verify is being called...

use GMiner -- it tells you the number of accepted shares.. it never goes up, its stuck at 0...

the miner is NEVER sending shares, like NEVER.

Do you actually have this code running and tested?

I tried from scratch multiple times, going thru your documentation.

I have setup FIVE different equihash pools already, so i think i know what im doing, a little...

Please advise

Thank You

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