hossbeast / autominer

autoswitching cryptocurrency miner for linux
GNU General Public License v3.0
11 stars 2 forks source link

support miningpoolhub #15

Open hossbeast opened 6 years ago

hossbeast commented 6 years ago

I want to enable pplns pool mining too, with a pool service like miningpoolhub.

The prediction of profit is straightforward but quite different from nicehash.

hossbeast commented 6 years ago

Profit prediction is straightforward, but determining actual profit is much less so, at least for miningpoolhub.

With pplns pool mining, you mine for some period of time, earning zero or more rewards during this time period. Then, after you stop mining, you might still earn some rewards if the pool mines any blocks, until some configurable amount of time has passed. The amount of time varies by service and by pool, but the typical setup is that, when the pool mines a block, anyone who submitted shares out of the trailing (difficulty * 2) shares will receive some reward.

So the only way to figure out the actual reward is to stop mining on that pool, and wait until the pool has passed the point at which you might get rewards.

Intervals mined on a pplns pool will get stored in a pending state, and mining on that pool will be blocked, until actual results can be determined.

hossbeast commented 6 years ago

experimental support included in v2.0. In this version, actual profit is considered equal to expected profit.

v2.1 will included calculation of actual profit, using the method stated above.