moopless / stratum-mining-litecoin

This fork is no longer maintained. Please use https://github.com/ahmedbodi/stratum-mining
Other
38 stars 35 forks source link

[Q] main and PoS branches #39

Open feeleep75 opened 11 years ago

feeleep75 commented 11 years ago

Hi,

Excuse my ignorance but is it still necessary to use separate PoS branch for PoS coins or it is already merged? I am totally not familiar with such tools like git and I am a bit lost...

moopless commented 11 years ago

@feeleep75 I have been a bit lazy thus far. I still need to merge the PoS branch into the main branch. I should get this going this week.

feeleep75 commented 11 years ago

thanks - i was just curious :)

nicoschtein commented 11 years ago

Hi, will this work for both types of coins automatically or there should be some kind of config setting PoS+PoW/PoW ?

moopless commented 11 years ago

There will be a flag for it when I get it implemented.

TheSerapher commented 11 years ago

You could do a get difficulty call first when starting up. If it returns a number it's a regular coin, if its an array we deal with PoS/PoW most likely.

moopless commented 11 years ago

I may implement this as an automatic check, but likely not. It has a built in sanity check for the pool operator to do a bit of research on the coin. With new coins coming out almost daily coin devs are changing the coins more and more. It is likely that new coins may not be completely compatible. Pool operators should research the coin and test the pool to ensure it works properly. In the configuration a flag that describes the coin isn't unreasonable. We will see how ambitious I am when I merge the branches (or when I get enough time to make the modifications)

ahmedbodi commented 10 years ago

added support in https://github.com/ahmedbodi/stratum-mining