Crypto-Expert / stratum-mining

AIO Stratum mining server for various coins
Other
365 stars 348 forks source link

Quark Pool #354

Closed bitquarkcoin closed 9 years ago

bitquarkcoin commented 9 years ago

I'm running a BitQuark MPOS pool. The coin is a quark algorithm. The problem I'm having is miners running GPU's without the "difficulty-multiplier 256" set in their config/bat file are throwing off the hashrate and shares. I've noticed on coinmine.pl Quarkcoin pool he has it setup so that GPU miners without the difficulty multiplier shares are rejected. How can I setup my stratum to reject shares for the rogue GPU miners?

Thanks, BTQ Dev

chris2286266 commented 9 years ago

Maybe the same problem as in issue #353 You can try to change function diff_to_target like this:

def diff_to_target(self, difficulty):
    '''Converts difficulty to target'''
    '''quark'''
    diff1 = 0x000000ffff000000000000000000000000000000000000000000000000000000
    return diff1 / difficulty
bitquarkcoin commented 9 years ago

Yeah I was looking at that section of the stratum file and I just wasn't sure exactly what to do. I setup a test pool and made some changes to the quark diff1 and I got it to work! Thanks again Chris!!!

ahmedbodi commented 9 years ago

is there a reason for you all using stratum-mining? im considering maybe giving this whole thing a cleanup and bug fixes

bitquarkcoin commented 9 years ago

@ahmedbodi Yeah I'm still using stratum mostly because there aren't really any good examples out for 'quark' using NOMP

ahmedbodi commented 9 years ago

refactor done here: https://github.com/Multicoin-co/stratum-mining/pull/2 now you can specify your own diff1 and algo