bonesoul / CoiniumServ

Next-gen crypto currency mining pool software
Other
798 stars 494 forks source link

MPOS compatibility and other issues #1033

Open HashUnlimited opened 6 years ago

HashUnlimited commented 6 years ago

As we got test stations available, I have recently resumed testing on this project and currently I am working on some enhancements like support for DASH master nodes, superblocks, etc. Basically master nodes are already working fine, sbs aren't tested yet.

During testing I found (or re-discovered) the MPOS issue: We are writing the wrong worker diff into the database. I am aware that this might have been a workaround for an issue in MPOS where the diff precision has been handled as an int, recently together with other devs we have fixed that (available in MPOS dev branch) and the stratum shall from now on simply write the unconverted share diff into the DB. I remember when we were testing, TheSerapher was using CoiniumServ and reported incorrect DB entries.

I could have a look into that as well however, atm I am stuck at an error (I'm working on the dev branch) I can't really figure out what's going on. Probably someone can give me a hint how and where to search so we can move on with the enhancements.

20:45:06 [Error] [PoolManager] [global] Error recaching statistics; The method or operation is not implemented.

I am running in MPOS mode now, no idea why we even should get to any statistics.

xborow commented 6 years ago

The same issue, running bitcoin pool with mpos, still getting [Error] [PoolManager] [global] Error recaching statistics; The method or operation is not implemented.

cornac commented 6 years ago

It,s statistic of CoiniumServ. MPOS calculate statistic from database