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

Slides:



Advertisements
Similar presentations
The Normal Distribution
Advertisements

Sampling: Final and Initial Sample Size Determination
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
COMS 486 Iowa State University Introduction to Bitcoin A P2P Electronic Cash System.
The world’s first decentralized digital currency Meni Rosenfeld Bitcoil 4/2/2013Written by Meni Rosenfeld1.
Central Limit Theorem.
Chapter 8: Probability: The Mathematics of Chance Lesson Plan
Class notes for ISE 201 San Jose State University
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
BHS Methods in Behavioral Sciences I
IEEM 3201 Two-Sample Estimation: Paired Observation, Difference.
OMS 201 Review. Range The range of a data set is the difference between the largest and smallest data values. It is the simplest measure of dispersion.
The moment generating function of random variable X is given by Moment generating function.
Bootstrap Estimation of the Predictive Distributions of Reserves Using Paid and Incurred Claims Huijuan Liu Cass Business School Lloyd’s of London 10/07/2007.
BITCOIN An introduction to a decentralised and anonymous currency. By Andy Brodie.
Bitcoin is the FUTURE of MONEY!!
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.
Standard error of estimate & Confidence interval.
Section 10.  An insurance policy is a contract between the party that is at risk (the policyholder) and the insurer  The policyholder pays a premium.
BPT 2423 – STATISTICAL PROCESS CONTROL.  Frequency Distribution  Normal Distribution / Probability  Areas Under The Normal Curve  Application of Normal.
The world’s first decentralized digital currency Meni Rosenfeld Bitcoil 29/11/2012Written by Meni Rosenfeld1.
On Power Splitting Games in Distributed Computation: The case of Bitcoin Pooled Mining Loi Luu, Ratul Saha, Inian Parameshwaran, Prateek Saxena & Aquinas.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Portfolio Management Lecture: 26 Course Code: MBF702.
1 Measures of Variability Chapter 5 of Howell (except 5.3 and 5.4) People are all slightly different (that’s what makes it fun) Not everyone scores the.
by B. Zadrozny and C. Elkan
Sampling The sampling errors are: for sample mean
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
The t Tests Independent Samples. The t Test for Independent Samples Observations in each sample are independent (not from the same population) each other.
Estimation of Statistical Parameters
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
1 Efficiency and Nash Equilibria in a Scrip System for P2P Networks Eric J. Friedman Joseph Y. Halpern Ian Kash.
Chapter 7 Hypothesis testing. §7.1 The basic concepts of hypothesis testing  1 An example Example 7.1 We selected 20 newborns randomly from a region.
Bitcoin Exploration A Futuristic Odyssey of Magic Internet Money.
© 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Random Variables and Probability Models
Bitcoin and Bitcoin Mining Introduction Lab of Professor Hidetoshi Shimodaira Zehady Abdullah Khan Bachelor 4 th year, Mathematical Science Course, Department.
Math 145 September 20, Review Methods of Acquiring Data: 1. Census – obtaining information from each individual in the population. 2. Sampling –
Research Methods. Measures of Central Tendency You will be familiar with measures of central tendency- averages. Mean Median Mode.
BUS304 – Chapter 6 Sample mean1 Chapter 6 Sample mean  In statistics, we are often interested in finding the population mean (µ):  Average Household.
Chapter 5 Parameter estimation. What is sample inference? Distinguish between managerial & financial accounting. Understand how managers can use accounting.
Lesson Objective Understand what we mean by a Random Variable in maths Understand what is meant by the expectation and variance of a random variable Be.
CHAPTER SEVEN ESTIMATION. 7.1 A Point Estimate: A point estimate of some population parameter is a single value of a statistic (parameter space). For.
Chapter 3: Averages and Variation Section 2: Measures of Dispersion.
A life insurance company sells a term insurance policy to a 21-year-old male that pays $100,000 if the insured dies within the next 5 years. The probability.
§ 5.3 Normal Distributions: Finding Values. Probability and Normal Distributions If a random variable, x, is normally distributed, you can find the probability.
Risk Diversification and Insurance
The Practice of Statistics Third Edition Chapter 7: Random Variables Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 9 Random Variables.
Basic Queuing Insights Nico M. van Dijk “Why queuing never vanishes” European Journal of Operational Research 99 (1997)
MATH 2311 Section 3.3.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Unit 4 Review. Starter Write the characteristics of the binomial setting. What is the difference between the binomial setting and the geometric setting?
Bitcoin A Basic Tutorial on Decentralized money
Statistical Modelling
Cryptocurrencies By Rui Sakurai and Shane Spears
Random Variables and Probability Models
Amiko Pay A decentralized network for secure, instant, off-blockchain transactions.
Chapter 8 Hypothesis Testing with Two Samples.

Probability Key Questions
Additional notes on random variables
Additional notes on random variables
The Geometric Distributions
Expectation And Variance of Random Variables
Time-dependent Decision-making and Decentralization in Proof-of- Work Cryptocurrencies Yevhen Zolotavkin, Julian Garcia, Joseph Liu CSF 2019.
Presentation transcript:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Questions? 5/19/2013Written by Meni Rosenfeld19

Thank you Meni Rosenfeld 1DdrvajpK221W9dTzo5cLoxMnaxu859QN6 “Analysis of Bitcoin Pooled Mining Reward Systems” 5/19/2013Written by Meni Rosenfeld20