Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bitcoin 2013, San Jose Meni Rosenfeld Bitcoil 5/19/2013Written by Meni Rosenfeld1.

Similar presentations


Presentation on theme: "Bitcoin 2013, San Jose Meni Rosenfeld Bitcoil 5/19/2013Written by Meni Rosenfeld1."— Presentation transcript:

1 Bitcoin 2013, San Jose Meni Rosenfeld Bitcoil 5/19/2013Written by Meni Rosenfeld1

2 Outline Mining primer Simple reward methods PPS Proportional Advanced methods DGM Reward method triangle Shift-PPLNS The future Questions 5/19/2013Written by Meni Rosenfeld2

3 Mining primer Bitcoin mining exists to: Determine initial distribution of coins Synchronize transactions Miners calculate hashes in an attempt to find blocks and be rewarded with bitcoins 5/19/2013Written by Meni Rosenfeld3

4 Mining rewards One in 2 32 hashes will be a share A share has probability p = 1 / D to be a block Currently D ≈ 10 M A block is rewarded with B bitcoins Currently B = 25 (+ tx fees) Expected reward per share: pB Example: a 10 GH/s miner finds: 8K shares per hour (73M per year) Per year, on average, ~7 blocks (180 BTC) 5/19/2013Written by Meni Rosenfeld4

5 Variance Actual number of blocks found is random Follows Poisson distribution Variance is equal to mean Relative variance: D / #shares Example: 10GH/s miner, one year, B = 25, D = 10M Average reward: 180 BTC Standard deviation: 68 BTC Reward range: 25 – 350 BTC 5/19/2013Written by Meni Rosenfeld5

6 Mining pools Group of people mining together sharing rewards Relative variance based on combined hashrate Allows continuous rewards similar to expectation Contribution is measured by number of shares Actual calculation of rewards is not trivial! Hence the need for (and variety of) “reward methods” 5/19/2013Written by Meni Rosenfeld6

7 PPS (Pay per share) Pool operator takes an active role Pays miners a fixed amount pB per share (minus fees) Operator keeps all block rewards Advantages: Simple Miners completely shielded from randomness and variance Payment sent instantly 5/19/2013Written by Meni Rosenfeld7

8 PPS (Pay per share) 5/19/2013Written by Meni Rosenfeld8

9 Proportional Mining is organized into rounds Finding a block ends previous round and starts new one Block reward distributed among miners in latest round in proportion to shares they submitted this round Operator has no risk; miners do have variance Problem: Method is completely broken! 5/19/2013Written by Meni Rosenfeld9

10 Pool hopping 5/19/2013Written by Meni Rosenfeld10 In good times… and in bad?

11 Pool hopping Proportional method based on wrong intuition Suitable for deterministic tasks Not for random, memoryless tasks Reward per share = B / (#shares in round) #shares in round = #past shares + #future shares #future shares unknown but always look the same #past shares is known and variable! Mining most lucrative when #past shares is low 5/19/2013Written by Meni Rosenfeld11

12 DGM (Double geometric method) When miner submits a share, his score increases Score decreases geometrically when: 1. A share is found 2. A block is found Miners are rewarded for blocks according to current score Independent of everyone else’s scores! 5/19/2013Written by Meni Rosenfeld12

13 DGM (Double geometric method) 5/19/2013Written by Meni Rosenfeld13

14 Reward method triangle 5/19/2013Written by Meni Rosenfeld14

15 Shift-PPLNS Work is divided into “shifts” Ending a shift is arbitrary But not based on finding blocks! Miners are paid for shares submitted in last N shifts Method can work asynchronously Suitable for scalable, parallel implementations 5/19/2013Written by Meni Rosenfeld15

16 Pool landscape PoolMethod BTCGuildShift-PPLNS / PPS 50BTCPPS Slush BitminterShift-PPLNS BitparkingDGM EclipseDGM / PPS DeepbitProportional / PPS OzcoinDGM / PPS ItzodRSMPPS EligiusCPPSRB P2pool (decentralized)PPLNS 5/19/2013Written by Meni Rosenfeld16

17 The future Currently: “Standard” pools Pool assigns work to miners Miners submit proof of completed work Pool pays miners Problem: Pool performance improves with pool size Mining tends to concentrate at biggest pools Control of mining is centralized 5/19/2013Written by Meni Rosenfeld17

18 The future Some combination of: Multi-pool mining p2p pools Variable-difficulty shares Smart miners Distributed insurance agents Proxy pools Will allow: PPS payments (simple, no variance) Low fees Decentralization of power 5/19/2013Written by Meni Rosenfeld18

19 Questions? 5/19/2013Written by Meni Rosenfeld19

20 Thank you Meni Rosenfeld meni@bitcoil.co.il https://bitcoil.co.il 1DdrvajpK221W9dTzo5cLoxMnaxu859QN6 “Analysis of Bitcoin Pooled Mining Reward Systems” https://bitcoil.co.il/pool_analysis.pdf 5/19/2013Written by Meni Rosenfeld20


Download ppt "Bitcoin 2013, San Jose Meni Rosenfeld Bitcoil 5/19/2013Written by Meni Rosenfeld1."

Similar presentations


Ads by Google