BitShares Forum

Main => General Discussion => Topic started by: bytemaster on November 08, 2013, 05:23:12 am

Title: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator [PAID]
Post 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?
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: bytemaster on November 08, 2013, 08:05:03 am
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?
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: ryzombie on November 08, 2013, 07:14:34 pm
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


Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: bytemaster on November 08, 2013, 10:23:43 pm
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?
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: ryzombie on November 08, 2013, 10:37:45 pm
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)



Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: bytemaster on November 09, 2013, 05:00:45 am
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...
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: ryzombie on November 09, 2013, 06:00:43 am
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.

Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: bytemaster on November 09, 2013, 08:07:28 am
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.
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: ryzombie on November 09, 2013, 08:39:58 am
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
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: bytemaster on November 09, 2013, 08:40:42 am
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...
Title: Re: 0.1 BTC Bounty - Pay Per Share Mining Pool Calculator
Post by: ryzombie on November 09, 2013, 05:09:01 pm
cool