Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: maztheman on October 06, 2017, 02:33:43 PM



Title: Zcash Mining Dev Question
Post by: maztheman on October 06, 2017, 02:33:43 PM
Hello,

I need some help with my OpenCL Miner for ZCash.  It finds solutions but the pool keeps rejecting as "too low difficulty".  I think when I find solution, im not sure i sorted the indexes properly.

Is there a test case that has input and expected output?



Title: Re: Zcash Mining Dev Question
Post by: 0xcosmos on October 06, 2017, 06:13:49 PM
Hello,

I need some help with my OpenCL Miner for ZCash.  It finds solutions but the pool keeps rejecting as "too low difficulty".  I think when I find solution, im not sure i sorted the indexes properly.

Is there a test case that has input and expected output?



which pool you mining with?


Title: Re: Zcash Mining Dev Question
Post by: maztheman on October 06, 2017, 08:39:22 PM
its a local pool I am running from my pc, a z-nomp pool.


Title: Re: Zcash Mining Dev Question
Post by: 0xcosmos on October 08, 2017, 05:09:43 PM
its a local pool I am running from my pc, a z-nomp pool.

increase share difficulty in pool
if still problem
use pool mining


Title: Re: Zcash Mining Dev Question
Post by: maztheman on October 08, 2017, 07:29:48 PM
OK, I increased the difficulty on the pool.  and I will see if that changes anything.


Title: Re: Zcash Mining Dev Question
Post by: 0xcosmos on October 10, 2017, 02:19:09 AM
OK, I increased the difficulty on the pool.  and I will see if that changes anything.

solo mining will be tough
zcash difficulty too high

btw did it work?


Title: Re: Zcash Mining Dev Question
Post by: maztheman on October 10, 2017, 03:05:20 AM
No, it didnt work.   Only a few shares got sent to the pool and they were all rejected due to too low difficulty.  Im testing my miner's solutions vs other 3rd party miners.  I must have a bug in my algorithm.  Ill post some more once I figure out anything. 


Title: Re: Zcash Mining Dev Question
Post by: maztheman on October 12, 2017, 09:15:05 PM
OK, I increased the difficulty on the pool.  and I will see if that changes anything.

solo mining will be tough
zcash difficulty too high

btw did it work?

Looks like it was a combination of slightly off algorithm for collision detection and majorly bugged hashing algorithm.  The hashing algorithm was causing the wrong solutions to be posted to the pool, and potentially correct solutions being lost.  I have started from scratch and it looks like solutions are being found and at a good rate too.