is bitcoin stable, secure and scalable? - tik...incident timeline feb 01 2014 feb 04 2014 feb 07...

118
Is Bitcoin Stable, Secure and Scalable? Roger Wattenhofer ETH Zurich – Distributed Computing Group – www.disco.ethz.ch

Upload: others

Post on 08-Nov-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Is Bitcoin Stable,Secure and Scalable?

Roger Wattenhofer

ETH Zurich – Distributed Computing Group – www.disco.ethz.ch

Page 2: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28
Page 3: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

20102011

20122013

20142015

0

200

400

600

800

1000

1200

Pri

ce [

USD

/BTC

]

Exchange Rate USD/BTC

Page 4: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28
Page 5: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

What is Bitcoin?

+ + =

Page 6: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Bitcoin Basics

Page 7: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Bank of Bitcoin

User BalanceA 2B 5C 8

TXB −→ A

User BalanceA 2 4B 5 3C 8

Page 8: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Bank of Bitcoin

User BalanceA 2B 5C 8

TXB −→ A

User BalanceA 2 4B 5 3C 8

Page 9: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Bank of Bitcoin

User BalanceA 2B 5C 8

TXB −→ A

User BalanceA 2 4B 5 3C 8

Page 10: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Bank of Bitcoin

User BalanceA 2B 5C 8

TXB −→ A

User BalanceA 2 4B 5 3C 8

Page 11: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Opening an Account in Bitcoin

Private Key Public Key Address

Page 12: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 13: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 14: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 15: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 16: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs Outputs

Fee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 17: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 18: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transferring Bitcoins

TX: 41b221

B0.1

A4.798

A4.899

Inputs OutputsFee

0.001

Prev. TX:a1a53743

4.899

0

C...

1

|Outputs

Page 19: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

User BalanceA 2B 5C 8

TX

TX

Page 20: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

TX

Page 21: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

TX

Page 22: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

TX

Page 23: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

TX

Page 24: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Distributing the Bank

TX

Page 25: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Let’s Buy a Snack

[Bamert, Decker, Elsen, W, Welten, 2013]

Page 26: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Doublespending

TX B1

A

1

1

Inputs

Outputs

TX’ A1

1

Page 27: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Doublespending

TX B1

A

1

1

Inputs

Outputs

TX’ A1

1

Page 28: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Doublespending

TX B1

A

1

1

Inputs

Outputs

TX’ A1

1

Page 29: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Conflicts

TX

TX

Page 30: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Conflicts

TX

TX

Page 31: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Conflicts

TX

TX

Page 32: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Conflicts

TX

TX

Page 33: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Resolving Conflicts

Green!

Page 34: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Resolving Conflicts

Green!

Page 35: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Resolving Conflicts

Green!

Page 36: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

How to Choose a Leader?

Page 37: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Proof-of-Work

Block

H(Previous Block)

TX TX TX TX

I H(Block|0) → 094d66aa7c844a9dbb516a41259b5877. . .

I H(Block|1) → f2496854af8bf989171587a9259f634f. . .

I H(Block|2) → aec87c0ca2e5eb3f23111092f1089ada. . .

I H(Block|3) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 38: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Proof-of-Work

Block

H(Previous Block)

TX TX TX TX

I H(Block|0) → 094d66aa7c844a9dbb516a41259b5877. . .

I H(Block|1) → f2496854af8bf989171587a9259f634f. . .

I H(Block|2) → aec87c0ca2e5eb3f23111092f1089ada. . .

I H(Block|3) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 39: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Proof-of-Work

Block

H(Previous Block) TX TX TX TX

I H(Block|0) → 094d66aa7c844a9dbb516a41259b5877. . .

I H(Block|1) → f2496854af8bf989171587a9259f634f. . .

I H(Block|2) → aec87c0ca2e5eb3f23111092f1089ada. . .

I H(Block|3) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 40: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Proof-of-Work

Block

H(Previous Block) TX TX TX TX

I H(Block) → fd2e2055f117bfa261b5a6c7e11df367. . .

I H(Block|0) → 094d66aa7c844a9dbb516a41259b5877. . .

I H(Block|1) → f2496854af8bf989171587a9259f634f. . .

I H(Block|2) → aec87c0ca2e5eb3f23111092f1089ada. . .

I H(Block|3) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 41: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 42: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 43: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 44: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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) → 777f75b2a8ecfdc8026c236fc1d2ffa0. . ....

I H(Block|961127) → 0000014823419622d4c133672a7d657e. . .

Page 45: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Blockchain

Time

Page 46: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Blockchain

Time

Page 47: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Is Bitcoin stable?

Page 48: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Blockchain

Time

Page 49: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Blockchain

Time

Page 50: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Propagation Speed

0 10 20 30 40 50 60Time since first observation [s]

0.00

0.02

0.04

0.06

0.08

0.10

0.12PD

FBlock propagation

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

Page 51: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Propagation Speed

0 10 20 30 40 50 60Time since first observation [s]

0.00

0.02

0.04

0.06

0.08

0.10

0.12PD

FBlock propagation

50thp

erc.[Decker, W, 2013]http://bitcoinstats.com

Page 52: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Propagation Speed

0 10 20 30 40 50 60Time since first observation [s]

0.00

0.02

0.04

0.06

0.08

0.10

0.12PD

FBlock propagation

50thp

erc.

95thp

erc.

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

Page 53: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Propagation Speed

0 10 20 30 40 50 60Time since first observation [s]

0.00

0.02

0.04

0.06

0.08

0.10

0.12PD

FBlock propagation

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

Page 54: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Blockchain Forks

180000 182000 184000 186000 188000 190000Blockchain Height

0

2

4

6

8

10

12

Fork

sBlockchain forks

1.69%

[Decker, W, 2013]

Page 55: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Aside: Mining Evolution

20102011

20122013

20142015

10-10

10-9

10-8

10-7

10-6

10-5

10-4

10-3

10-2

10-1

100

101

102

103

Hash

rate

PH

/s

Hashrate evolution

Page 56: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Aside: Mining Evolution

20102011

20122013

20142015

10-10

10-9

10-8

10-7

10-6

10-5

10-4

10-3

10-2

10-1

100

101

102

103

Hash

rate

PH

/s

Hashrate evolution

Page 57: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Aside: Mining Evolution

20102011

20122013

20142015

10-10

10-9

10-8

10-7

10-6

10-5

10-4

10-3

10-2

10-1

100

101

102

103

Hash

rate

PH

/s

Hashrate evolution

Page 58: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Summary

TX

Green!

Block

H(Previous Block) TX TX TX TX Nonce

Time

Page 59: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

How to Lose $500M

Page 60: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Addressing Transaction Malleability: MtGox has detectedunusual activity on its Bitcoin wallets and performedinvestigations during the past weeks.

Page 61: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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 (620millio 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

Page 62: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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 . . .

Page 63: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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 . . .

Page 64: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?Refund

Page 65: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?Refund

Page 66: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?Refund

Page 67: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?Refund

Page 68: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?

Refund

Page 69: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Malleability Attack

TX

TX

TX

TX

TX

Red!

TX?

Refund

Page 70: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Incident Timeline

Feb 01 2014

Feb 04 2014

Feb 07 2014

Feb 10 2014

Feb 13 2014

Feb 16 2014

Feb 19 2014

Feb 22 2014

Feb 25 2014

Feb 28 20140

50000

100000

150000

200000

250000

300000

350000

bit

coin

s

0

5000

10000

15000

20000

25000

30000

transa

ctio

ns

1st

Pre

ss R

ele

ase

2nd P

ress

Rele

ase

Cumulative malleable doublespends

value

number

386 BTC

[Decker, W, 2014]

Page 71: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Incident Timeline

Feb 01 2014

Feb 04 2014

Feb 07 2014

Feb 10 2014

Feb 13 2014

Feb 16 2014

Feb 19 2014

Feb 22 2014

Feb 25 2014

Feb 28 20140

50000

100000

150000

200000

250000

300000

350000

bit

coin

s

0

5000

10000

15000

20000

25000

30000

transa

ctio

ns

1st

Pre

ss R

ele

ase

2nd P

ress

Rele

ase

Cumulative malleable doublespends

value

number

386 BTC

[Decker, W, 2014]

Page 72: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Is Bitcoin Secure?

Page 73: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Securing Your Bitcoins

[Bamert, Decker, W, 2013]

Page 74: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Does Bitcoin Scale?

Page 75: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

The Bitcoin Ecosystem is Growing

20102011

20122013

20142015

0

20000

40000

60000

80000

100000

120000

140000

Tra

nsa

ctio

ns

Daily Transaction Volume

Page 76: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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

Page 77: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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

Page 78: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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

Page 79: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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

Page 80: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

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

Page 81: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Payment Network

Page 82: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Payment Network

Page 83: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Payment Network

Page 84: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5

5

T=100 5

5

0

4

1

3

2

Page 85: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 86: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 87: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 88: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 89: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 90: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 91: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 92: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Micropayment Channels

5 5

T=100 5

5

0

4

1

3

2

Page 93: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Atomic Multiparty Opt-In

Page 94: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Atomic Multiparty Opt-In

Page 95: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Atomic Multiparty Opt-In

Page 96: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Invalidating Transactions

T=100

T=99

Page 97: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Invalidating Transactions

T=100

T=99

Page 98: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Bidirectional Transfers

5 5

5

0

4 4

4

0

0

5

1

3

Page 99: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Bidirectional Transfers

5 5

5

0

4 4

4

0

0

5

1

3

Page 100: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Bidirectional Transfers

5 5

5

0

4 4

4

0

0

5

1

3

Page 101: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Duplex Micropayment Channels

Setup Invalidation Tree Micropayment Channels

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 102: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Duplex Micropayment Channels

Setup Invalidation Tree Micropayment Channels

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 103: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Duplex Micropayment Channels

Setup Invalidation Tree Micropayment Channels

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 104: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Duplex Micropayment Channels

Setup Invalidation Tree Micropayment Channels

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 105: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Duplex Micropayment Channels

Setup Invalidation Tree Micropayment Channels

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 106: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Summary

Red!

TX?Refund

T = 100 T = 100 T = 100

T = 99 T = 100 T = 100

T = 99 T = 100

T = 99

Page 107: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Thank you, questions?

Thanks to Christian Decker

ETH Zurich – Distributed Computing Group – www.disco.ethz.ch

Page 108: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Securing Fast Payments

Page 109: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Let’s Buy a Snack

[Bamert, Decker, Elsen, W, Welten, 2013]

Page 110: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Confidence

TX

confidence(TX ) =

Page 111: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Confidence

TX

confidence(TX ) =

Page 112: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Confidence

TX

confidence(TX ) =

Page 113: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Confidence

TX

confidence(TX ) =

Page 114: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Transaction Confidence

TX

confidence(TX ) =

Page 115: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Doublespend Detection

0 20 40 60 80 100Node sample size

0.0

0.2

0.4

0.6

0.8

1.0D

ete

ctio

n p

robabili

tyDoublespend detection

[Bamert, Decker, Elsen, W, Welten, 2013]

Page 116: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Time to Detection

20 40 60 80 100Node sample size

0

2

4

6

8

10

12

14

Tim

e [

s]Time until detection

Average time

Median time

95 percentile

99 percentile

[Bamert, Decker, Elsen, W, Welten, 2013]

Page 117: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Successful Doublespend

0 20 40 60 80 100Node sample size

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

0.45

Pro

babili

tyProbability of successful double spend

[Bamert, Decker, Elsen, W, Welten, 2013]

Page 118: Is Bitcoin Stable, Secure and Scalable? - TIK...Incident Timeline Feb 01 2014 Feb 04 2014 Feb 07 2014 Feb 10 2014 Feb 13 2014 Feb 16 2014 Feb 19 2014 Feb 22 2014 Feb 25 2014 Feb 28

Successful Doublespend

0 20 40 60 80 100Node sample size

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

0.45

Pro

babili

tyProbability of successful double spend

0.088%

[Bamert, Decker, Elsen, W, Welten, 2013]