bitcoin and beyond
play

Bitcoin and Beyond The World of CryptoCurrencies Math 2018 to date - PowerPoint PPT Presentation

Bitcoin and Beyond The World of CryptoCurrencies Math 2018 to date Lecturer, NTU, Singapore Math 2014 - 2017 Lecturer, ISI Kolkata, India EE, CS 2010 - 2014 PhD, Computer Science 2006 - 2008 MMath, Pure Mathematics 2002 -


  1. Bitcoin and Beyond The World of Crypto—Currencies

  2. Math 2018 to date Lecturer, NTU, Singapore Math 2014 - 2017 Lecturer, ISI Kolkata, India EE, CS 2010 - 2014 PhD, Computer Science 2006 - 2008 MMath, Pure Mathematics 2002 - 2006 BTech, Electronics Engg. CS Sourav Sen Gupta I teach Data Science and Machine Learning Lecturer, SCSE, NTU Singapore My research interests are in Cybersecurity sg.sourav@ntu.edu.sg I study all technical aspects of Blockchain

  3. Arise, you have nothing to lose but your barbed wire fences!

  4. Currency

  5. cur·ren·cy noun Medium of Exchange

  6. Withdraw Deposit Centralized Accounting for some Two-Party Transaction Spend cur·ren·cy noun

  7. Withdraw Deposit Digital Representation of the Two-Party Transaction Spend digital currency

  8. Digital Representation of money can be Duplicated Double Spend digital currency

  9. 35624 35624 Digital Representation with 35624 Unique Identifier for safety 35624 35624 digital currency

  10. 35624 35624 Digital Representation with 35624 Fraudulent Identifier 48913 Fraud Currency 48913 digital currency

  11. 35624 35624 Digital Representation with 35624 Authenticated Identifier 48913 48913 digital currency

  12. 35624 35624 Digital Representation of 35624 the no Individual Privacy digital currency

  13. Blind Signature David Schaum, 1984 The concept of Untraceable e-Payments and e-Cash anonymous digital currency

  14. 35624 35624 Commitment for e-Cash authorized by Blind Sign anonymous digital currency

  15. 35624 35624 Commitment verified by 35624 Zero-Knowledge Proof 35624 35624 anonymous digital currency

  16. 35624 35624 35624 Blind Signature and 35624 Zero-Knowledge Proof 35624 35624 anonymous digital currency

  17. Commitment + Encryption + Blind Signature connected by Zero-Knowledge Proof anonymous digital currency

  18. What if anonymity is not enough, and you want to anyone? Decentralize the Currency? decentralized digital currency

  19. CypherPunks Phil Zimmermann Adam Back Wei Dai Nick Szabo Hal Finney PGP HashCash B-Money BitGold RPoW 1991 1997 1998 1998 2004

  20. Bitcoin Satoshi Nakamoto 31 October 2008

  21. Centralized Transaction as we are all familiar with Tx not Bitcoin

  22. Centralized Transaction based on a Centralized Account-based Ledger Tx not Bitcoin

  23. Decentralized Transaction based on a Decentralized Account-based Ledger Tx not Bitcoin yet

  24. Decentralized Transaction Tx Tx Tx Tx Tx Tx Tx based on a Decentralized Transaction-based Ledger Tx almost there …

  25. Transaction

  26. Peer-to-Peer Network

  27. Transaction SGD 120

  28. Record of Transactions SGD 120

  29. Record of Transactions SGD 120 SGD 100

  30. Connected Transactions SGD 120 SGD 100

  31. Connected Transactions SGD 170 SGD 120 SGD 100

  32. Digital Signature Authentic Proof of Ownership Three algorithms ? sk, pk = keygen(n) s = sign(sk,m) verify(pk,m,s) s = sign(sk, m) keygen(n) sk pk verify(pk, m, s) 2 1 3

  33. Format of a Transaction SGD 170 SGD 120 SGD 50

  34. Reporting of a Transaction SGD 170 SGD 120 SGD 50

  35. Recording of a Transaction SGD 170 SGD 120 SGD 50

  36. Verification of Transactions SGD 170 SGD 120 SGD 50

  37. Public Ledger

  38. Appending

  39. Mining

  40. Challenge

  41. Voting

  42. Record 12.5 BTC Verify Lifecycle of Transaction Mine Publish

  43. Consensus

  44. Mining

  45. Incentive 6.25 BTC 0.53 BTC

  46. Incentive Consensus Fee 6.25 BTC Verification Fee 0.53 BTC

  47. Consensus Fee 6.25 BTC Blockchain Verification Fee 0.53 BTC … from its two sides Goal of the System Creating a verifiable tamper-resilient ledger. Active network for End-Users to utilize reliably. Demand of End-Users Inclusion of records in the distributed ledger. Value of records greater than verification cost.

  48. Consensus Fee 6.25 BTC Consensus Verification Fee 0.53 BTC Who pays the Fee? Economic Incentives Built into the system/software to ensure that the Players of the “Blockchain Game” play honestly. Design of Incentives Incentives within the System to motivate honesty and Reward or Punishment to motivate Behavior.

  49. Consensus Fee 6.25 BTC Verification Verification Fee 0.53 BTC Who pays the Fee? Cost of Verification Built into the system/software for End-Users to incentivize the miners for Inclusion of Records. Penalizing Spams Set to a minimum to ensure less spamming by End-Users as well as an active Mining Network.

  50. hash ( ) # Bitcoin = 0x 00…00 XX…XX Satoshi’s Brilliance Economic Incentives Built into the system/software to reward Miners with Bitcoin, as well as regulates Bitcoin creation. Reusable Proof-of-Work Built into the system/software to elect Miners for block creation, as well as to moderate Hardness.

  51. Miners

  52. Dominant Miners

  53. Consensus Proof-of-Work https://www.youtube.com/watch?v=J-He70rznIQ Uneven Hash Power Hashrate distribution of Proof-of-Work systems generally end up biased to a few Miners/Pools. Severely non-Green Proof-of-Work puzzles are extremely costly but otherwise completely useless computations.

  54. Check Out Bitcoin Demo https://coindemo.io/ Bitcoin Blockchain https://www.blockchain.com/explorer Cryptocurrency Market https://coinmarketcap.com/

  55. Abstraction

  56. Blockchain Publicly Verifiable Tamper Resilient Distributed Ledger Eventually Consistent Semi Decentralized

  57. Shared State Ledger of Records Transparency Immutability

  58. Consistency Consensus Protocol Immutability Decentralization

  59. Attribution Digital Identity 1BvBMSEYstWe tqTFn5Au4m4 GFg7xJaNVN2 Decentralization Provenance

  60. Authenticity Challenge-Response Provenance Accountability

  61. Cryptocurrencies Blockchain Consensus Digital Wallet Signature

  62. Bitcoin Blockchain Proof-of-Work Signature Pseudonymous

  63. Bitcoin Cash Blockchain* Proof-of-Work Signature Pseudonymous

  64. Litecoin Blockchain* Proof-of-Work* Signature Pseudonymous

  65. Monero Blockchain* Proof-of-Work* Ring-Signature Un-Linkable

  66. ZCash Blockchain* Proof-of-Work* Zero-Knowledge Anonymous

  67. Ripple Blockchain* Ripple-Protocol Payments Registered

  68. Blockchain

  69. Blockchain BLOCKCHAIN ECOSYSTEM The Full-Stack View APPS BLOCKCHAIN API BLOCKCHAIN PLATFORM PLATFORM API D-APPS SMART USER SYSTEM CONTRACTS MANAGEMENT MANAGEMENT PLUGINS MODULES DASH

  70. Public Decentralized Decentralized Peer-to-Peer Networks Groups or Organizations Immutability : High | Scalability : Low Immutability : Medium | Scalability : Medium Permissionless Permissioned Intra-Organization Organizational Groups or Networks Restricted Ledgers Immutability : Medium | Scalability : Medium Immutability : Low | Scalability : High Private

  71. Smart Contract and Blockchain Software Bitcoin Script Ethereum Solidity Hyperledger Chaincode … and many more

  72. Scalability for Usable Latency Off-Chain Transactions Sharding Mechanisms Layer N and Channels Counterfactual … and many more Generalized State Channels

  73. Interoperability for “Internet of Blockchains” Decentralized Exchanges Atomic Swaps on Chains Cosmos and Tendermint Cosmos Network … and many more Tendermint Consensus

  74. Security Chain of Layers Smart Contracts Integrity*, Verifiability*, Correctness Transaction Recording Integrity*, Availability*, Verifiability Consensus Mechanism Integrity*, Availability*, Consistency Storage and Database Confidentiality, Integrity, Availability Peer-To-Peer Network Confidentiality, Integrity, Availability Each layer in a Blockchain architecture has its requirements for Security

  75. Attacks Routing Attacks Smart Contracts Transaction Recording Attacker controls enough nodes or IPs in the network to isolate one or more valid miners Consensus Mechanism or participants in the Blockchain protocol. Storage and Database Peer-To-Peer Network Hijacking Bitcoin (IEEE S&P 2017), Eclipse (USENIX Security 2015)

  76. Attacks Private Key Stealing Smart Contracts Transaction Recording Attacker steals, destroys or compromises the private keys of miners/validators and regular Consensus Mechanism participants in the Blockchain protocol. Storage and Database Peer-To-Peer Network Attacks on Bitcoin/Cryptocurrency Wallets and Blockchain Exchanges

  77. Attacks Majority Control Smart Contracts Transaction Recording Attacker controls the majority of the “power” in mining/validating the transactions posted Consensus Mechanism by participants in the Blockchain protocol. Storage and Database Peer-To-Peer Network Hash Power (2014), Selfish Mining (2014), Block Withholding (2011)

Recommend


More recommend