Post
Topic
Board Mining (Altcoins)
Re: [ANN][DRK|Q2C|QRK|MYR] sph-sgminer - multi-algo GPU miner | MYR groestl added!
by
renegadepcsolutions
on 18/03/2014, 11:20:37 UTC

There is target adjustment in sph-sgminer depending on the coin, this is what DM_SELECT(1, 256, 65536) does. Currently for darkcoin and myriadcoin-groestl truediffone is multiplied by 1, for quarkcoin and qubitcoin it's multiplied by 256 and for scrypt it's multiplied by 65536.

so here may be the problem - quarks should have diff1 similar as sha256 coins (so multiplier = 1)

Are you sure about this? Because for example hash of BTC block 10 (difficulty = 1) is:

000000002c05cc2e78923c34df87fd108b22221ac6076c18f3ade378a4d915e9

and hash of QRK block 600 (difficulty = 1.01576304) is:

00000096b99f154706b957c0e36cc4bf3789849e8a0684278dffac607b404641

so QRK definitely has higher target than BTC for this difficulty, otherwise this block would not be accepted. I'm not an expert in this, though.

Also take a look at:

https://github.com/bitcoin/bitcoin/blob/master/src/rpcblockchain.cpp#L36

and

https://github.com/MaxGuevara/quark/blob/master/src/rpcblockchain.cpp#L31

In BTC dDiff is multiplied/divided by 256 until nShift is 29 while in QRK it's multiplied/divided by 256 until nShift is 30 - so IMHO for two difficulties with the same value target value will be shifted by 8 bits.

Note that sph-sgminer displays network difficulty correctly for Quark and QubitCoin. It wouldn't be correct with wrong multiplier.

I understand this but there is one problem - in original CPU miner from Neisklar (https://github.com/Neisklar/quarkcoin-cpuminer) I am pretty sure diff1 is set the same as sha256 and it is used by thousands of users...

However I set up a separate stratum port (once again) for GPU users on Securecoin pool. As I dont have any GPU rig now could anyone test it for a while and post results?

mine1.coinmine.pl:6021

feeleep

Feeleep, I don't know what you did with stratum 6021... but I have 2x 7870's that usually get amazing results on p2pool sites... and I'm getting crap on yours.

I was only getting 2MH/s out of it... and I get a much higher reading than that usually, because sgminer doesn't report the (corrected) hash-rate for the quark algo on the gpu's... at least not to my knowledge.

phm... quarkcoin algo is still having major problems on every gui pool, except for feeleep's, who has implemented a special stratum... but has very low-end results for miners.

p2pool setups work fine... but gui pools don't work... or read false positives.