cryptocurrencies
play

Cryptocurrencies bitcoin, blockchain & beyond Roger Wattenhofer - PowerPoint PPT Presentation

Cryptocurrencies bitcoin, blockchain & beyond Roger Wattenhofer ETH Zurich Distributed Computing Group Cryptocurrencies What is Bitcoin? = + + Technology The Bank of Bitcoin The Bank of Bitcoin User Balance A 2 B 5 C 8


  1. Cryptocurrencies bitcoin, blockchain & beyond Roger Wattenhofer ETH Zurich – Distributed Computing Group

  2. Cryptocurrencies

  3. What is Bitcoin? = + +

  4. Technology

  5. The Bank of Bitcoin

  6. The Bank of Bitcoin User Balance A 2 B 5 C 8

  7. The Bank of Bitcoin TX B − → A User Balance A 2 B 5 C 8

  8. The Bank of Bitcoin TX B − → A User Balance A 2 4 B 5 3 C 8

  9. Opening an Account in Bitcoin Private Key Public Key Address

  10. Transferring Bitcoins TX: 41b221

  11. Transferring Bitcoins 0 . 1 B TX: 41b221

  12. Transferring Bitcoins 4 . 899 0 . 1 A B TX: 41b221 4 . 798 A

  13. Transferring Bitcoins 4 . 899 0 . 1 A B TX: 41b221 4 . 798 A

  14. Transferring Bitcoins Outputs Inputs 4 . 899 0 . 1 A B TX: 41b221 4 . 798 A

  15. Transferring Bitcoins Fee Outputs Inputs 0 . 001 4 . 899 0 . 1 A B TX: 41b221 4 . 798 A

  16. Transferring Bitcoins Fee Outputs | Outputs Inputs 0 . 001 4 . 899 4 . 899 0 . 1 A B Prev. TX: 0 TX: 41b221 a1a53743 4 . 798 ... C A 1

  17. Distributing the Bank TX User Balance A 2 B 5 C 8

  18. Distributing the Bank

  19. Distributing the Bank TX

  20. Distributing the Bank TX

  21. Distributing the Bank

  22. Distributing the Bank

  23. Let’s Buy a Snack [Bamert, Decker, Elsen, W, Welten, 2013]

  24. Doublespending TX 1 Inputs 1 A

  25. Doublespending TX 1 Inputs 1 A 1 TX’

  26. Doublespending TX 1 Inputs 1 ✓ A 1 TX’

  27. Transaction Conflicts

  28. Transaction Conflicts TX TX

  29. Transaction Conflicts TX TX

  30. Transaction Conflicts

  31. Resolving Conflicts

  32. Resolving Conflicts Green!

  33. Resolving Conflicts

  34. How to Choose a Leader?

  35. Proof-of-Work TX TX TX TX

  36. Proof-of-Work Block TX TX TX TX

  37. Proof-of-Work Block H(Previous Block) TX TX TX TX

  38. Proof-of-Work Block H(Previous Block) TX TX TX TX I H(Block) → fd2e2055f117bfa261b5a6c7e11df367. . .

  39. Proof-of-Work Block H(Previous Block) TX TX TX TX Nonce I H(Block | 0) → 094d66aa7c844a9dbb516a41259b5877. . .

  40. Proof-of-Work Block H(Previous Block) TX TX TX TX Nonce I H(Block | 0) → 094d66aa7c844a9dbb516a41259b5877. . . I H(Block | 1) → f2496854af8bf989171587a9259f634f. . .

  41. Proof-of-Work Block H(Previous Block) TX TX TX TX Nonce I H(Block | 0) → 094d66aa7c844a9dbb516a41259b5877. . . I H(Block | 1) → f2496854af8bf989171587a9259f634f. . . I H(Block | 2) → aec87c0ca2e5eb3f23111092f1089ada. . .

  42. Proof-of-Work Block H(Previous Block) TX TX TX TX Nonce I H(Block | 0) → 094d66aa7c844a9dbb516a41259b5877. . . I H(Block | 1) → f2496854af8bf989171587a9259f634f. . . I H(Block | 2) → aec87c0ca2e5eb3f23111092f1089ada. . . I H(Block | 3) → 777f75b2a8ecfdc8026c236fc1d2 ff a0. . . . . . I H(Block | 961127) → 0000014823419622d4c133672a7d657e. . .

  43. The Blockchain Time

  44. The Blockchain Time

  45. Is Bitcoin stable?

  46. The Blockchain Time

  47. The Blockchain Time

  48. Propagation Speed http://bitcoinstats.com [Decker, W, 2013]

  49. Propagation Speed http://bitcoinstats.com [Decker, W, 2013]

  50. Blockchain Forks 1.69% [Decker, W, 2013]

  51. Aside: Mining Evolution

  52. Aside: Mining Evolution

  53. Aside: Mining Evolution

  54. 500 MW

  55. Summary Green! TX Block H(Previous Block) TX TX TX TX Nonce Time

  56. Stories

  57. How to Lose 500M

  58. Addressing Transaction Malleability: MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.

  59. The MtGox Incident I July 2010: First trade on MtGox I May 2011: Transaction malleability identified as low priority issue I February 7, 2014: MtGox halts withdrawals I February 10, 2014: MtGox announces loss of 850,000 bitcoins (620 millio USD) and cites transaction malleability as root cause I February 28, 2014: MtGox files for bankruptcy I March 7 2014: MtGox finds 200,000 bitcoins I August 2015: MtGox CEO is arrested

  60. Signatures 61 af bb 4d e9 f8 b8 74 86 1e

  61. Signatures 00 00 61 af bb 4d e9 f8 b8 74 86 1e There are multiple ways to serialize a signature: I Multiple push operations (1 byte, 2 byte, 4 byte) I Non-canonical DER encodings I Padding I . . .

  62. Transaction Malleability Attack

  63. Transaction Malleability Attack TX TX

  64. Transaction Malleability Attack TX TX TX

  65. Transaction Malleability Attack

  66. Transaction Malleability Attack Red! TX?

  67. Transaction Malleability Attack Refund

  68. Incident Timeline [Decker, W, 2014]

  69. Incident Timeline 386 BTC [Decker, W, 2014]

  70. Is Bitcoin Secure?

  71. Securing Your Bitcoins [Bamert, Decker, W, 2013]

  72. Does Bitcoin Scale?

  73. The Bitcoin Ecosystem is Growing

  74. Scalability Limits I Disk space: < 500 transactions per second

  75. Scalability Limits I Disk space: < 500 transactions per second I Processing power: < 200 transactions per second

  76. Scalability Limits I Disk space: < 500 transactions per second I Processing power: < 200 transactions per second I Network bandwidth: < 100 transactions per second

  77. Scalability Limits I Disk space: < 500 transactions per second I Processing power: < 200 transactions per second I Network bandwidth: < 100 transactions per second I Artificial 1MB limit: < 3 transactions per second

  78. Scalability Limits I Disk space: < 500 transactions per second I Processing power: < 200 transactions per second I Network bandwidth: < 100 transactions per second I Artificial 1MB limit: < 3 transactions per second Today: I Bitcoin: 1 transaction per second I Credit Cards: > 10 , 000 transactions per second

  79. Payment Network

  80. Payment Network

  81. Payment Network

  82. Micropayment Channels 5

  83. Micropayment Channels 5 5

  84. Micropayment Channels 5 5 T=100 5

  85. Micropayment Channels 5 5 T=100 5

  86. Micropayment Channels 5 5 T=100 5

  87. Micropayment Channels 5 5 5 0 T=100 5

  88. Micropayment Channels 5 4 5 5 0 1 T=100 5

  89. Micropayment Channels 5 4 3 5 5 0 1 2 T=100 5

  90. Micropayment Channels 5 4 3 5 5 0 1 2 T=100 5

  91. Duplex Micropayment Channels T = 100 T = 100 T = 100 T = 99 T = 100 T = 100 T = 99 T = 100 T = 99 Setup Invalidation Tree Micropayment Channels

  92. Summary Red! T = 100 T = 100 T = 100 Refund TX? T = 99 T = 100 T = 100 T = 99 T = 100 T = 99

  93. Economy

  94. BTC in USD

  95. Inflation

  96. Fungibility ? =

  97. Improving Bitcoin? saver miner relay payer payee

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