Slide 1

Slide 1 text

The End of Data Silos: Interoperability via Cryptocurrencies Neha Narula Digital Currency Initiative

Slide 2

Slide 2 text

+

Slide 3

Slide 3 text

interoperability

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

DB (EMRs) Application Application

Slide 8

Slide 8 text

DB (EMRs) Application Doctor DB (EMRs) Application Hospital APIs

Slide 9

Slide 9 text

Problems: Back office reconciliation Hard to share – need to have n2 APIs Compromises still happen!

Slide 10

Slide 10 text

DB (EMRs) Application Doctor DB (EMRs) Application Hospital APIs

Slide 11

Slide 11 text

DB Hospital Pharmacist Doctor

Slide 12

Slide 12 text

A new (again) database: The blockchain

Slide 13

Slide 13 text

distributed consensus public key cryptography common data formats and protocols

Slide 14

Slide 14 text

Distributed consensus Problem of multiple computers agreeing on a value Used to build a log of operations with state machine replication Works as a distributed database

Slide 15

Slide 15 text

Distributed consensus log

Slide 16

Slide 16 text

Byzantine fault tolerant distributed consensus log

Slide 17

Slide 17 text

Consensus: a very old problem 1982 Byzantine Generals Problem formulated 1999 Practical Byzantine Fault Tolerance paper published 2009 Bitcoin introduces Nakamoto Consensus 1990 Leslie Lamport writes about Paxos 2014 1980 1985 1990 1995 2000 2005 2010 2015 Raft paper published 2006 Google publishes Chubby paper

Slide 18

Slide 18 text

Public key cryptography Hash functions Digital signatures Sharing data selectively

Slide 19

Slide 19 text

Public key cryptography Hash functions Digital signatures Sharing data selectively

Slide 20

Slide 20 text

Common data formats Rules for what can go in the log records Agreement on valid operations and states

Slide 21

Slide 21 text

Components of blockchains distributed consensus public key cryptography common data formats + +

Slide 22

Slide 22 text

using a log to build a decentralized digital currency Alice Bob 1MHepPtrqAxZ

Slide 23

Slide 23 text

Potential problems with digital token transfer 1.  Intercept transfer and steal funds 2.  Spend money without authorization 3.  Replay attack 4.  Double spend

Slide 24

Slide 24 text

“I, Alice, would like to send Bob one coin” Alice! “I, Alice, would like to send Bob 1MHepPtrqAxZ” Alice! Alice Bob Eve 1.  Intercept transaction and steal funds 2.  Spend money without authorization 3.  Replay attack 4.  Double spend Eve Alice!

Slide 25

Slide 25 text

“I, Alice, would like to send Bob 1MHepPtrqAxZ” Alice! “I, Alice, would like to send Carol 1MHepPtrqAxZ” Alice! Bob Carol 1.  Intercept transaction and steal funds 2.  Spend money without authorization 3.  Replay attack 4.  Double spend Alice! Uniqueness and ordering Alice

Slide 26

Slide 26 text

Don’t trust, verify.

Slide 27

Slide 27 text

Blocks merkle root hash of prev block timestamp # txns txns

Slide 28

Slide 28 text

Merkle tree H(HA HB ) H(B) H(C) H(D) H(A) H(HC HD ) H(HAB HCD ) A B C D merkle root

Slide 29

Slide 29 text

Merkle tree H(HA HB ) H(B) H(C) H(D) H(A) H(HC HD ) H(HAB HCD ) A B C D C in MY merkle root? merkle root

Slide 30

Slide 30 text

log Participation based on identity Sybil attack

Slide 31

Slide 31 text

Proof of work: Bitcoin mining Nakamoto Consensus

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Blocks created by solving a computational puzzle merkle root hash of prev block timestamp nonce difficulty # txns txns

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Why do people solve this puzzle and follow the rules?

Slide 37

Slide 37 text

$$$

Slide 38

Slide 38 text

distributed consensus public key cryptography common data formats and protocol

Slide 39

Slide 39 text

distributed consensus public key cryptography common data formats and protocol mechanism design

Slide 40

Slide 40 text

Rational behavior in Bitcoin Try to solve the puzzle for bitcoins Build on the longest valid chain The one the other rational ones are building on All valid transactions Why are bitcoins worth anything??

Slide 41

Slide 41 text

log

Slide 42

Slide 42 text

log ? ? ? ?

Slide 43

Slide 43 text

Downsides of Bitcoin Energy usage for proof of work Performance Concentration of mining power Difficulty of use Uncertainty of new currency

Slide 44

Slide 44 text

What we can learn from Bitcoin Open-admissions, rationality-based protocols work at large scale! Simple transaction formats are useful Giving users the power to audit their own transactions is powerful More open systems with less trust → -  Choice -  Interoperability

Slide 45

Slide 45 text

Savings and credit practices in the developing world Mobile money Real time gross financial settlement Credentialing Property titling and asset transfer Global rights management for music Medical records Decentralized publishing Many real world applications

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

A vicious cycle: •  High fees •  Unproven creditworthiness •  Fraud, mistrust in documentation •  Unenforceable contracts •  Communities without access to basic infrastructure Our current financial system is not serving everyone

Slide 48

Slide 48 text

Blockchain The power of peer-to-peer and open systems Payments Smart contracts Privacy

Slide 49

Slide 49 text

Thank you! MIT Digital Currency Initiative dci.mit.edu ted.com/talks/neha_narula_the_future_of_money narula@media.mit.edu @neha