Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin...

58
| | James Guthrie James Guthrie Christian Decker, Jochen Seidel, Roger Wattenhofer 24/09/15 1 Making Bitcoin Exchanges Transparent

Transcript of Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin...

Page 1: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

||James Guthrie

James Guthrie Christian Decker, Jochen Seidel, Roger Wattenhofer

24/09/15 1

Making Bitcoin Exchanges Transparent

Page 2: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 2

Introduction

Page 3: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 3

Introduction

Page 4: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 4

Introduction

Page 5: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 5

IntroductionPeer to Peer

Page 6: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 6

IntroductionPeer to Peer

Page 7: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15

header

James Guthrie 7

Introduction

headerheader

Peer to Peer

Page 8: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 8

Introduction

header headerheader

Peer to Peer

Page 9: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 9

IntroductionPeer to Peer

Transaction History

Page 10: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 10

IntroductionPeer to Peer

Transaction History

Page 11: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 11

IntroductionPeer to Peer

Transaction History

Growth

Page 12: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15

Sellers

James Guthrie 12

Bitcoin Exchanges

Exchange

Buyers

Page 13: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 13

Trust in Bitcoin Exchanges

Page 14: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 14

Trust in Bitcoin Exchanges

18 of 40 exchanges folded

Page 15: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 15

Trust in Bitcoin Exchanges

18 of 40 exchanges folded

Page 16: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 16

Trust in Bitcoin Exchanges

18 of 40 exchanges folded

650k bitcoins lost/stolen

Page 17: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 17

Trust in Bitcoin Exchanges

18 of 40 exchanges folded

650k bitcoins lost/stolen

Page 18: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 18

Trust in Bitcoin Exchanges

18 of 40 exchanges folded

650k bitcoins lost/stolen

No higher power

No help from law enforcement

Page 19: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15

650k bitcoins lost/stolen

18 of 40 exchanges folded

No higher power

James Guthrie 19

Trust in Bitcoin Exchanges

No help from law enforcement

Page 20: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 20

Legitimacy of Bitcoin Exchanges

Page 21: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 21

Legitimacy of Bitcoin Exchanges

Page 22: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 22

Legitimacy of Bitcoin Exchanges

Third-party audit

Page 23: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 23

Legitimacy of Bitcoin Exchanges

Third-party audit

Page 24: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 24

Legitimacy of Bitcoin Exchanges

Third-party audit

Renowned third-party audit (PwC)

Trust in third party Cost Frequency Privacy

Page 25: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 25

Automated Software-Based Audit

Assets Liabilities

≥Solvency

Privacy

Page 26: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 26

Trusted Computing

Executable

Trusted Execution

Result + Proof of ExecutionOutput

Page 27: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 27

Overview of Audit Process

Value of Assets Value of Liabilities

Blockchain Keys + Signatures Customer IDs + Balances

SolvencyBlockchain hash Customer data hash

Page 28: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 28

Customer Verification

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 29: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 29

Customer Verification

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 30: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 30

Customer Verification

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 31: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 31

Customer Verification

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 32: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 32

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap

116 KB Input

512 KB Program

Page 33: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 33

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap

116 KB Input

512 KB Program

Page 34: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 34

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap116 KB Input

512 KB Program

Input space

Blockchain

Size

0GB 7.5GB 15GB 22.5GB 30GB

Input space

Address Balances

Size

0MB 40MB 80MB 120MB 160MB

Page 35: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 35

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap116 KB Input

512 KB Program

Memory constraints

Page 36: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 36

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap116 KB Input

512 KB Program

Memory constraints

Page 37: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 37

Limitations of Trusted Execution Platform

4 KB Stack

128 KB Heap116 KB Input

512 KB Program

Memory constraints

Time constraints • 200ms-1s overhead • 0.5-1s cooldown

Page 38: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 38

Overview of Audit Process

Value of Assets Value of Liabilities

Blockchain Keys + Signatures Customer IDs + Balances

SolvencyBlockchain hash Customer data hash

Page 39: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 39

Overview of Audit Process

Value of Assets Value of Liabilities

Keys + Signatures Customer IDs + Balances

SolvencyAddress Balance hash Customer data hash

Address Balances

Page 40: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 40

Iterative Customer Verification

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 41: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 41

Iterative Merkle Tree

C

C

Õ

B

B

Õ

R

2

nentries 2

nentries

1 to 2

n+1entries

Page 42: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 42

Summary

Page 43: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 43

Summary

Page 44: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 44

Summary

Page 45: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 45

Summary

Page 46: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 46

Summary

Page 47: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 47

Summary

Page 48: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 48

Summary

Assets Liabilities

Page 49: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 49

Summary

A Li≥

Page 50: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 50

Summary

A Li≥Value of Assets Value of Liabilities

Blockchain Keys + Signatures Customer IDs + Balances

SolvencyBlockchain hash Customer data hash

Page 51: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 51

Summary

A Li≥ Valu Valu

Page 52: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 52

Summary

A Li≥ Valu Valu

Bob : 20Alice : 10 Cath : 15 David : 90

h(Bob : 20)h(Alice : 10) h(Cath : 15) h(David : 90)

h(A||B) h(C||D)

h(AB||CD)

Page 53: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 53

Summary

A Li≥ Valu Valu

Page 54: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 54

Summary

A Li≥ Valu Valu

Value of Assets Value of Liabilities

Keys + Signatures Customer IDs + Balances

SolvencyAddress Balance hash Customer data hash

Address Balances

Page 55: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 55

Summary

A Li≥ Valu Valu

Page 56: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 56

Summary

A Li≥ Valu ValuC

C

Õ

B

B

Õ

R

2

nentries 2

nentries

1 to 2

n+1entries

Page 57: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 57

Summary

A Li≥ Valu Valu

C

C

Õ

B

B

Õ

R

2

nentries 2

nentries

1 to 2

n+1entries

Page 58: Making Bitcoin Exchanges Transparent - TIK€¦ · James Guthrie | 24/09/15 | 16 Trust in Bitcoin Exchanges 18 of 40 exchanges folded 650k bitcoins lost/stolen

|| 24/09/15James Guthrie 58

Thank you

Questions?