Very interesting. Of course like any good
investment there will be different strategies, such as holding all mined shares, selling some of them, or even buying more than you can mine
So here is how you would modify ProtoShares to enable a lottery base mining reward:
1) the value of a coinbase transaction is not known until the block hash is found.
2) calculate ratio (R) of block_difficulty / target_difficulty which should be a number greater than 1
3) if R > 100 && < 1000 then R = 100
4) if R <= 100 then
COINBASE = MIN_BLOCK_REWARD * R
POT += 100 * MIN_BLOCK_REWARD - COINBASE
5) else R > 1000
COINBASE = 0.5 * POT
POT -= COINBASE
I have a feeling that there will also be different strategies in mining, ranging from mine out a block then release it asap, to continuing to mine to try to hit a higher reward.