What is mining, by Meni Rosenfeld

13
A bird’s eye view of Bitcoin mining Meni Rosenfeld What is mining? 21/1/2013 Written by Meni Rosenfeld 1

description

Presentation that explains Bitcoin Mining, by Meni Rosenfeld.

Transcript of What is mining, by Meni Rosenfeld

Page 1: What is mining, by Meni Rosenfeld

Written by Meni Rosenfeld

A bird’s eye view of Bitcoin mining

Meni Rosenfeld

What is mining?

21/1/20131

Page 2: What is mining, by Meni Rosenfeld

IntroductionBitcoin mining consists in using computers

to perform specific calculations, and obtaining bitcoins in return

Bitcoin is not about mining!Bitcoin is a decentralized digital currencyMining is the means to that endA Bitcoin user does not need to do mining

This talk will touch on key concepts in mining

21/1/2013Written by Meni Rosenfeld2

Page 3: What is mining, by Meni Rosenfeld

Why does Bitcoin need mining?

21/1/2013Written by Meni Rosenfeld3

Mining is a system that serves two distinct purposes:Determining the initial distribution of coinsSynchronizing Bitcoin transactions

Page 4: What is mining, by Meni Rosenfeld

Initial distribution of bitcoins

21/1/2013Written by Meni Rosenfeld4

Bitcoins are property; someone needs to own them when created.The inventor of Bitcoin? Not fairEqually to each person? Requires physical authorityBy software instances? Can be cloned/gamedBy IP addresses? Centralized and arbitrary…?

Distribution according to proof of computational work is fair, measurable, “pure” and has low overhead

Long term, initial distribution doesn’t matter that much

Page 5: What is mining, by Meni Rosenfeld

Synchronizing transactions

21/1/2013Written by Meni Rosenfeld5

Digital currencies have a problem called “double spending”The owner of a coin can try to use the same coin to

pay two people simultaneously

Centralized solutions are known

The first decentralized solution is the blockchain (mining), invented in 2008 by “Satoshi Nakamoto”

This talk is not about how mining works to synchronize transactions

Page 6: What is mining, by Meni Rosenfeld

Mining hardware

21/1/2013Written by Meni Rosenfeld6

Mining involves a specific calculation – SHA-256

Mining performance is measured in MH/s(Mega hashes per second)

Types of hardware (performance per $1K)CPU: 10 MH/sGPU: 1,000 MH/sFPGA: 2,000 MH/sASIC: 40,000 MH/s

Page 7: What is mining, by Meni Rosenfeld

Mining rewards

21/1/2013Written by Meni Rosenfeld7

Miners work & try to find blocks

For each block found they get:Newly generated coins (currently 25 BTC per

block)New coins gradually enter circulationNew coins per block are reduced by half every 4 yearsThere will never be more than 21M bitcoins

Transaction fees (currently ~0.3 BTC per block)Bitcoin users pay them out of existing coinsHelp the transaction to execute faster Will become more significant going forward

Page 8: What is mining, by Meni Rosenfeld

Inflation Schedule

21/1/2013Written by Meni Rosenfeld8

Page 9: What is mining, by Meni Rosenfeld

Mining difficulty

21/1/2013Written by Meni Rosenfeld9

“Difficulty” controls the number of hashes required to find a block

Difficulty is adjusted every 2 weeks to keep the rate of finding blocks at one per 10 minutes on average

Difficulty increases as more people mine –BTC generation rate is fixed, distributed in proportion to mining performance.

Page 10: What is mining, by Meni Rosenfeld

Mining pools

21/1/2013Written by Meni Rosenfeld10

Finding blocks is discrete, random and highly variableA miner expecting to find 1 block on average per

month (~$360) will actually find 0-3 blocksNot good for cash flow or mental health

Most miners join a mining pool, mine together and share the rewardsMining rewards in a pool are very close to averageMany pools with different size, reward method and

other features. Some good, some not so good

Page 11: What is mining, by Meni Rosenfeld

Mining as an investment

21/1/2013Written by Meni Rosenfeld11

Buying mining hardware is a risky investmentFuture BTC price is unknownFuture difficulty is unknownMight never reach positive ROI

Running a mining operation requires technical expertise

Capital markets help separate the two

Page 12: What is mining, by Meni Rosenfeld

The ASIC arms race

21/1/2013Written by Meni Rosenfeld12

Multiple companies are working on dedicated Bitcoin mining chipsButterfly Labs (multiple delays)bASIC (scrapped due to internal conflicts)Avalon (shipped yesterday!)ASICMINER (will mine itself, not sell hardware)DeepBit

The advent of ASIC chips will be very disruptive

Investing in mining now is even riskier than usual

Seeing this transition unfold will be interesting

Page 13: What is mining, by Meni Rosenfeld

21/1/2013Written by Meni Rosenfeld13

Questions?