34
ETH Zurich – Distributed Computing – www.disco.ethz.ch Roger Wattenhofer Time is Money!

Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

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

Roger Wattenhofer

Time is Money!

Page 2: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

GPS

Page 3: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

UV Radiation

[Fahrni, Kuhn, Sommer, W, Welten, Ubicomp 2011]

Page 4: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Wireless Multi-hop Networks

Page 5: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Synchronization in Networks

Theorem: Impossible to synchronize well,

not even neighbors!

[Lenzen, Locher, W, JACM 2010]

Page 6: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Network Synchronization in Practice

FTSP PulseSync

[Lenzen, Sommer, W, ACM/IEEE TON 2014]

Page 7: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

FTSP PulseSync

[Lenzen, Sommer, W, ACM/IEEE TON 2014]

Network Synchronization in Practice

Page 8: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected
Page 9: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

SynchronizeHeart Ratewith Music

Page 10: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

LogicalPhysical

Page 11: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

You probably usedlogical synchronization

Page 12: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Money

Page 13: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Bitcoin

Page 14: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Bank of Bitcoin

Page 15: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Spending Money

AmountDestination

Signature

Source

Page 16: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Moving Money

Source Destination Amount

Source Destination Amount

Source Destination Amount

Transaction

Page 17: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Distributing the Bank

TX

Page 18: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Propagation Time

[Decker, W, 2013]

Page 19: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Double-spending

TX

Source Destination Amount

TX’

Source Destination Amount

Page 20: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Double-spending in the Network

TX TX’

Page 21: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Distributing the Bank

I am the leader

Page 22: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Double-spending in the Real World

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

Page 23: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Where would you inject your transaction?

Page 24: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Double-spending, the Theory

Player 1: Where to inject original transaction?Player 2: Where to inject copy?

Page 25: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected
Page 26: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Really?

Page 27: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Sometimes, being second is better!

[Meier, Pignolet, Schmid, W, 2014]

Page 28: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Another Example: Nontransitive Dice

Page 29: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Transaction Malleability

February 10, 2014: “Addressing Transaction Malleability: MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.”

Page 30: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Transaction Malleability

Page 31: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Transaction Malleability in Real Life

386 Bitcoins

[Decker, W, Arxiv, in submission ]

Page 32: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected
Page 33: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Summary

Page 34: Time is Money! - ETH Z · 2020. 8. 19. · Another Example: Nontransitive Dice. Transaction Malleability February 10, 2014: “Addressing Transaction Malleability: MtGox has detected

Thank You!Questions & Comments?

www.disco.ethz.ch