BitShares Forum
Main => General Discussion => Topic started by: bytemaster on November 08, 2013, 05:23:12 am
-
I want to implement a pay-per-share mining pool and would like to know the equation for calculating PPS for a given block based upon difficulty, block reward, and share target.
I am thinking of setting pool shares to be 0x03fffffffffff............
Given pool shares of that difficulty and assuming a 0 average profit pool, what should my pay per share price be?
-
I am thinking that I could calculate it as the following:
AVG_SHARES_PER_BLOCK = SHARE_TARGET / BLOCK_TARGET
SHARE_REWARD = BLOCK_REWARD / AVG_SHARES_PER_BLOCK
No?
-
I would think you would want to use the diff in calculator heres my idea:
PPS_SHARE_REWARD = (current_per_block_reward/SHARE_TARGET) * current_difficulty
PPS_PAYOUT = (PPS_SHARE_REWARD * PERSONS NUMBER OF SHARES) / TOTAL_POOL_SHARES
-
I would think you would want to use the diff in calculator heres my idea:
PPS_SHARE_REWARD = (current_per_block_reward/SHARE_TARGET) * current_difficulty
PPS_PAYOUT = (PPS_SHARE_REWARD * PERSONS NUMBER OF SHARES) / TOTAL_POOL_SHARES
Is there any documentation out there of how other pools do it?
-
I found that Coinotron used
(your shares / total shares for the round) = % share of the rewards (block)
this is documented here https://en.bitcoin.it/wiki/Coinotron (https://en.bitcoin.it/wiki/Coinotron)
I also found this on the 2nd answer post here
http://bitcoin.stackexchange.com/questions/5515/how-much-is-a-mining-pool-share-worth-on-average (http://bitcoin.stackexchange.com/questions/5515/how-much-is-a-mining-pool-share-worth-on-average)
-
I found that Coinotron used
(your shares / total shares for the round) = % share of the rewards (block)
this is documented here https://en.bitcoin.it/wiki/Coinotron (https://en.bitcoin.it/wiki/Coinotron)
I also found this on the 2nd answer post here
http://bitcoin.stackexchange.com/questions/5515/how-much-is-a-mining-pool-share-worth-on-average (http://bitcoin.stackexchange.com/questions/5515/how-much-is-a-mining-pool-share-worth-on-average)
I like it, but these are not PPS systems...
-
I dont understand how there not PPS systems
PPLNS pays your shares over shifts based on the blocks the pool finds in that shift
PPS pays out per share
What i described in my first post is how I calculate PPS in my pool, but I guess it isn't up to your standards.
-
I dont understand how there not PPS systems
PPLNS pays your shares over shifts based on the blocks the pool finds in that shift
PPS pays out per share
What i described in my first post is how I calculate PPS in my pool, but I guess it isn't up to your standards.
Perhaps I didn't understand. The first one is based upon actual blocks found and your reward payout is not predictable.
I will pay you .1 BTC for answering though.
-
I apologize dude, I didn't realize you wanted a fixed(predictable PPS rate) I'm glad you found something that works! Can't wait for you pool to come back up!
1K3V6oZFZiymKTs93WKtBtvdEkp8zxKFri
-
I apologize dude, I didn't realize you wanted a fixed(predictable PPS rate) I'm glad you found something that works! Can't wait for you pool to come back up!
1K3V6oZFZiymKTs93WKtBtvdEkp8zxKFri
It is up again now...
-
cool