aion_miner icon indicating copy to clipboard operation
aion_miner copied to clipboard

handleShare never called - pool never accepts any shares..

Open g00dnatur3 opened this issue 5 years ago • 2 comments

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

g00dnatur3 avatar May 18 '19 21:05 g00dnatur3

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.

AionMiner avatar May 28 '19 04:05 AionMiner

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

g00dnatur3 avatar Jun 02 '19 03:06 g00dnatur3