intro to bitcoin research
play

Intro to Bitcoin Research or Why Bitcoin is a full employment act - PowerPoint PPT Presentation

Intro to Bitcoin Research or Why Bitcoin is a full employment act for security engineers Joseph Bonneau CITP, Princeton Thanks to Andrew Miller, Arvind Narayanan, Jeremy Clark, Joshua Kroll, Ed Felten Part I: Bitcoin in 6 easy steps


  1. Intro to Bitcoin Research or “Why Bitcoin is a full employment act for security engineers” Joseph Bonneau CITP, Princeton Thanks to Andrew Miller, Arvind Narayanan, Jeremy Clark, Joshua Kroll, Ed Felten

  2. Part I: Bitcoin in 6 easy steps

  3. Double spending: why ecash is hard Sign A (Transfer X to B) Redeem X? Bob BANK Alice Redeem X? Sign A (Transfer X to C) Charlie Sign Z (Transfer X to A)

  4. Step 1: Make the bank a global log (the block chain) Signature BANK Signature BANK ... Sign A (Transfer X to B) ... Signature BANK Sign A (Transfer X to C) Signature BANK Sign A (Transfer X to C)

  5. Step 2: Participants vote on blocks Signature A Signature B Signature C ... Signature A Signature B Signature C ... Signature A Signature B Signature D ...

  6. Step 3: A random user picks N-2 Signature A N N-1 Signature B C N Signature C Sign A (Transfer X to C)

  7. Step 4: Resolve conflicts by forking Signature A Sign A (Transfer X to B) Signature B Sign A (Transfer X to C) Signature C Signature D Signature E

  8. Step 5: Incentivise correct blocks Mint(X, A) Signature A Mint(X, B) Signature B Mint(X, C) Mint(X, D) Signature C Signature D Mint(X, E) Signature E

  9. Step 6: Choose by hash power! Mint(X, A) Mining difficulty SHA-256 (Block N-1 , n ) = 0x00000000000000003f89... Mint(X, B) Mining difficulty SHA-256 (Block N-1 , n ) = 0x00000000000000008c71... Mint(X, C)

  10. Preventing double spending Sign A (Transfer X to B) Sign A (Transfer X to B) Sign A (Transfer X to C) Longest chain wins

  11. Transaction confirmation (~6 blocks)

  12. Bitcoin is transaction-based ... IN: IN: scriptSig ... scriptSig A scriptSig ... OUT: OUT: ... scriptPubB, 5.0 scriptPub A, 5.9 scriptPubA, 0.9 IN: scriptSig A IN: scriptSig A scriptSig ... OUT: ... OUT: scriptPubC, 10.0 scriptPubA, 9.2

  13. Part II: Mining & Consensus

  14. 51% attacks Goldfinger Attack ?

  15. Checkpointing Bitcoin is not fully decentralized

  16. Selfish mining Observation: for 0.33 < x < 0.5, a fraction x of selfish miners can earn greater than a fraction x of rewards [Eyal, Sirer 2013] Attempt to fork here Putative fork Try again here Putative fork Succesful fork!

  17. Mining difficulty bitcoinwisdom.com

  18. Difficulty adjustment 10 minutes 2 weeks bitcoinwisdom.com

  19. Mining rewards Brian Warner

  20. Total network capacity 2 64 hashes per block (every 10 minutes!) ● 2 75 hashes in 2013 ● ○ In exchange for ~US$250M

  21. Bitcoin mining hardware

  22. Why would anybody mine bitcoins? Chilkoot pass, Klondike 1898

  23. Mining pools

  24. Part III: Bitcoin as a currency

  25. Why does Bitcoin have value? Consensus ● Consensus in state (blockchain) ● Consensus in payment ● Consensus in rules [Kroll, Felten 2013]

  26. Price during 2013

  27. Black Markets Silk Road: US$14M in Revenue in 2012 [Christin 2012]

  28. Capital controls

  29. E-commerce

  30. Bitcoin exchanges Around half of all exchanges have collapsed [Moore, Christin 2012]

  31. getaddr.bitnodes.io - 2013 Addy Yeow Geographic distribution of nodes (as of Dec 2013)

  32. Questions

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend