Post
Topic
Board Mining
Re: [ATTN: POOL OPERATORS] PoolServerJ - scalable java mining pool backend
by
shads
on 15/10/2011, 11:51:15 UTC
Quick question on poolserverj - is there by chance a config setting that will let me change the difficulty for 'accepted work'?  Haven't had a chance to take a closer look at the source yet, figured somebody else might know.

The reason I'm asking is I'm considering porting it to make a pool for litecoins, but of course would ask permission if I had to modify any of the source (I did manage to take a brief look at license.txt while perusing a bit of the poolserverj code Wink ).

I'd prefer this over pushpool because I like Java.  Cheesy

As far as I can tell anything other than share difficulty would have an easy workaround to get litecoind and poolserverj to work together (in terms of, if I run into an issue, I can make another program of my own to translate between the two, or modify litecoind).

No need to ask permission to modify psj.  It's GPL.  Earlier versions were no-derivs creative commons license but that's long gone.  However, I don't think you'll need to. Take a look at the very end of the sample properties file.  There is actually an option to set difficulty though no one's ever used it in production as far as I know.  I would recommend after setting you do a manual getwork and inspect the target to ensure the endianess is correct.

I don't know anything about litecoin but psj has been successfully used on several alt chains.  The only real requirement is that the alt chain uses the same hashing algorithm as bitcoin, if so poolserverj won't know the difference and will happily do it's thing.

One this to watch with alt chains though is whether or not they've got the duplicate work bug.  Have search back in this thread for an explanation of it...