47
Bitcoin & Blockchains Kevin Sekniqi

Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin & BlockchainsKevin Sekniqi

Page 2: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

A Brave New World - The Vision of David Chaum

David Chaum

PhD CS/Business Adm from Berkeley 1982

Founded IACR same year

eCash, mix nets, voting systems …

Page 3: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

A Brave New World - The Vision of David Chaum [1983]

http://www.hit.bme.hu/~buttyan/courses/BMEVIHIM219/2009/Chaum.BlindSigForPayment.1982.PDF

Page 4: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

A Brave New World - The Vision of David Chaum [1983]

Page 5: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

A Brave New World - The Vision of David Chaum[1983]

Basically ...

● Electronic payment systems suffer from loss of privacy and cumbersome trust on single entities.

● Privacy protection, however, encounters issues of security and safety of data.

Page 6: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Nick Szabo [1998]

Page 7: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Nick Szabo [1998]

Page 8: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Nick Szabo [1998]

http://unenumerated.blogspot.com/2005/12/bit-gold.html

Page 9: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Satoshi Nakamoto and the Anon Post [2008]

Page 10: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Satoshi Nakamoto and the Anon Post [2008]

Page 11: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Satoshi Nakamoto and the Anon Post [2008]

Page 12: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Goals

An electronic payment system:

● Guarantees safety of transactions, protects against double spends, gives full freedom to owners.

● Yet no central trusted authority, no reliance on quorum since identities are not known.

Page 13: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1 = [Alice → Bob] TX2 = [Alice → Carol]

Page 14: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

Page 15: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

Page 16: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

PBFT

Page 17: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

PBFT

Who are you?

Page 18: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin

New

Good

Evil Here’s what I know

Here’s what I know

?

Page 19: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

Page 20: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

Page 21: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin

SHA256(SHA256(TX || Nonce)) < {0}k {0,1}*

Page 22: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

Found it!

Page 23: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX1

TX2

TX2

TX1

Found it!

Page 24: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX2

TX2

TX2

TX2

TX2

TX2

Page 25: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX1

TX2

TX2

TX2

TX2

TX2

Page 26: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N4

N6

N5

TX1

TX2

TX2

TX2I’m confused

Page 27: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin

Page 28: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N4

TX1

TX2

I’m no longer confused

B2 B3 ...

B2 B3 ...

Loses!

Wins!

Page 29: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin

Page 30: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin

Page 31: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin UTXO

Page 32: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

BitcoinN1

N2

N3

N4

N6

N5

TX2

TX2

TX2

TX2

TX2

TX2

Thanks for the coins!

Page 33: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin● Many more subtle details, but core mechanism is computational race.

● Results:

○ Breakthrough consensus mechanism in the permissionless setting

● Challenges:

○ Electrical usage of a medium-sized country.

○ Very slow confirmation times.

○ 3 tx/second.

Page 34: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Bitcoin● Last year, when I gave this talk in December, 1 BTC == $1100

Today at $4000

● Crypto market cap high of $180B last week, today $130B

● 21 million total possible Bitcoins. As supplies dwindle, price skyrockets.

Page 35: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

Ittay Eyal● Postdoc @ Cornell, faculty @

Technion● Major contributor to Bitcoin

community

Emin Gun Sirer● Also major contributor to the

Bitcoin community

Page 36: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

N1

Rest of Network

TX1

TX2

B2 B3

B2 B3 51%

49%

Page 37: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

Page 38: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 39: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 40: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 41: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 42: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 43: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 44: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 45: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 46: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...

Page 47: Bitcoin & Blockchains - cs.cornell.edu · A Brave New World - The Vision of David Chaum. David Chaum. PhD CS/Business Adm from Berkeley 1982 Founded IACR same year. eCash, mix nets,

Majority is Not Enough: Bitcoin Mining is Vulnerable

N1

RON

...