Bitcoin Forum
January 18, 2018, 02:43:43 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Zcash Mining Dev Question  (Read 389 times)
maztheman
Newbie
*
Offline Offline

Activity: 9


View Profile
October 06, 2017, 02:33:43 PM
 #1

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?

1516243423
Hero Member
*
Offline Offline

Posts: 1516243423

View Profile Personal Message (Offline)

Ignore
1516243423
Reply with quote  #2

1516243423
Report to moderator
1516243423
Hero Member
*
Offline Offline

Posts: 1516243423

View Profile Personal Message (Offline)

Ignore
1516243423
Reply with quote  #2

1516243423
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1516243423
Hero Member
*
Offline Offline

Posts: 1516243423

View Profile Personal Message (Offline)

Ignore
1516243423
Reply with quote  #2

1516243423
Report to moderator
1516243423
Hero Member
*
Offline Offline

Posts: 1516243423

View Profile Personal Message (Offline)

Ignore
1516243423
Reply with quote  #2

1516243423
Report to moderator
0xcosmos
Full Member
***
Offline Offline

Activity: 126


View Profile
October 06, 2017, 06:13:49 PM
 #2

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?

▀    ★★★ INTENSE COIN ★★★ 
┊┈ BLOCKCHAIN BACKED DECENTRALISED P2P VPN ┊┈
█ █  Medium Twitter Slack Discord RedditFacebook Whitepaper Bitcointalk Ann  █ █ 
maztheman
Newbie
*
Offline Offline

Activity: 9


View Profile
October 06, 2017, 08:39:22 PM
 #3

its a local pool I am running from my pc, a z-nomp pool.
0xcosmos
Full Member
***
Offline Offline

Activity: 126


View Profile
October 08, 2017, 05:09:43 PM
 #4

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

▀    ★★★ INTENSE COIN ★★★ 
┊┈ BLOCKCHAIN BACKED DECENTRALISED P2P VPN ┊┈
█ █  Medium Twitter Slack Discord RedditFacebook Whitepaper Bitcointalk Ann  █ █ 
maztheman
Newbie
*
Offline Offline

Activity: 9


View Profile
October 08, 2017, 07:29:48 PM
 #5

OK, I increased the difficulty on the pool.  and I will see if that changes anything.
0xcosmos
Full Member
***
Offline Offline

Activity: 126


View Profile
October 10, 2017, 02:19:09 AM
 #6

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?

▀    ★★★ INTENSE COIN ★★★ 
┊┈ BLOCKCHAIN BACKED DECENTRALISED P2P VPN ┊┈
█ █  Medium Twitter Slack Discord RedditFacebook Whitepaper Bitcointalk Ann  █ █ 
maztheman
Newbie
*
Offline Offline

Activity: 9


View Profile
October 10, 2017, 03:05:20 AM
 #7

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. 
maztheman
Newbie
*
Offline Offline

Activity: 9


View Profile
October 12, 2017, 09:15:05 PM
 #8

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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!