Top Banner
Demystifying Blockchains Henning Diedrich & Vlad Zamfir Blockchain Workshops • London 2015
43
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Demystifying Blockchains

Demystifying Blockchains

Henning Diedrich & Vlad ZamfirBlockchain Workshops • London 2015

Page 2: Demystifying Blockchains

Bitcoin and the blockchain

● power● hype● reality

Page 3: Demystifying Blockchains

Bitcoin’s innovations

● blockchains● economic consensus

Page 4: Demystifying Blockchains

Projects

● Bitcoin● Ripple● Stellar● Hyperledger● Ethereum● Eris● Tendermint

Page 5: Demystifying Blockchains

What is Consensus?

● Consensus protocols are used to make ONE reliable computer out of many unreliable or untrusted computers

Page 6: Demystifying Blockchains

What is Consensus?

● They are used in real-life applications○ processors○ databases○ flying cars

Page 7: Demystifying Blockchains

Traditional Consensus Protocols

● Clients in these protocols only change their state when a supermajority approves of the changes, or elects a leader who proposes the changes

tc

Page 8: Demystifying Blockchains

Traditional Consensus Protocols

tc● Coordinate on changes to the state● Changes are never reverted● They “just stop” if too many nodes go offline

Page 9: Demystifying Blockchains

● Blockchains are consensus protocols that come to consensus through compromise

● “Fork-choice rule”

What is a blockchain?

BC

Page 10: Demystifying Blockchains

Why a blockchain?

● They are available in the event of network partitions

● Blockchains are more decentralized than traditional consensus protocols

BC

Page 11: Demystifying Blockchains

“Maintain a shared, trusted computer even though we don’t trust each other because we know that screwing it up would cost us a lot of money.” - The Joker

What is Economic Consensus?

eeconomic

Page 12: Demystifying Blockchains

● Public consensus● Guarantees correctness

○ even for private consensus○ “trustless”

“Maintain a shared, trusted computer even though we don’t trust each other because we know that screwing it up would cost us a lot of money.” - The Joker

Why Economic Consensus?

eeconomic

Page 13: Demystifying Blockchains

How do we make faults expensive?

● Proof-of-work○ Make changing the state expensive

● Proof-of-stake○ Use security deposits to punish nodes who propose

competing updates to the consensus

eeconomic

Page 14: Demystifying Blockchains

Blockchain projects

● Bitcoin● Ripple● Stellar● Hyperledger● Ethereum● Eris● Tendermint

Page 15: Demystifying Blockchains

Bitcoin disintermediate banks & currencies

Page 16: Demystifying Blockchains

ZerocashanonymousBitcoin

Page 17: Demystifying Blockchains

Ripple

replace SWIFT

Page 18: Demystifying Blockchains

Stellarbank the unbanked

Page 19: Demystifying Blockchains

Hyperledgerinter-bank clearing

Page 20: Demystifying Blockchains

Ethereumpublicsmart contractplatform

Page 21: Demystifying Blockchains

public smart contractplatform

Tendermint

Page 22: Demystifying Blockchains

Eris

privatesmart contractsplatform stack

Page 23: Demystifying Blockchains

Core Design❏ private❏ public

❏ traditional consensus protocol❏ decentralized blockchain

❏ transaction network❏ virtual machine

Page 24: Demystifying Blockchains

Bitcoin disintermediate banks & currencies

public, decentralized blockchain+ virtual machine

Page 25: Demystifying Blockchains

replace SWIFT

Ripple

private transaction networkwith built-in currency conversions

Page 26: Demystifying Blockchains

bank the unbanked

Stellar

private transaction networkwith built-in currency conversions

Page 27: Demystifying Blockchains

Hyperledgerinter-bank clearing

private consensus protocol

Page 28: Demystifying Blockchains

Ethereumpublicsmart contractplatform

public, decentralized blockchain+ virtual machine

Page 29: Demystifying Blockchains

Tendermint

public, decentralized blockchain+ virtual machine

public smart contractplatform

Page 30: Demystifying Blockchains

Eris

privatesmart contractsplatform stack

private consensus+ virtual machine

Page 31: Demystifying Blockchains

Smart Contracts

● Virtual machine ...● … with transaction capacity (token)● Oracle input from outside world

Page 32: Demystifying Blockchains

Smart Contracts

Bitcoin Ethereum Tendermint Eris

Page 33: Demystifying Blockchains

Smart Contracts

Bitcoin VM Ethereum Virtual Machine (EVM)

Bitcoin Ethereum Tendermint Eris

Page 34: Demystifying Blockchains

“Maintain a shared,trusted computereven though we don’t trust each other because we know that screwingit up would cost us a lot of money.”

What is Economic Consensus?

eeconomic

Page 35: Demystifying Blockchains

Bitcoin disintermediate banks & currencies

public, decentralized blockchain+ virtual machine

eeconomic

BC

Page 36: Demystifying Blockchains

non-economic

eRipple

replace SWIFT

private transaction networkwith built-in currency conversions

Page 37: Demystifying Blockchains

bank the unbanked eStellar

private transaction networkwith built-in currency conversions

non-economic

enon-economic

Page 38: Demystifying Blockchains

inter-bank clearing

private consensus protocol

tc

eHyperledger

non-economic

Page 39: Demystifying Blockchains

publicsmart contractplatform

Ethereum

public, decentralized blockchain+ virtual machine

eeconomic

BC

Page 40: Demystifying Blockchains

Tendermint

public smart contractplatform

public, decentralized blockchain+ virtual machinetc

eeconomic

Page 41: Demystifying Blockchains

Eris

privatesmart contractsplatform stack

private consensus+ virtual machine

enon-economic

tc

enon-economic

Page 42: Demystifying Blockchains

Thank You!

Questions!

Page 43: Demystifying Blockchains

Credits

Roof top - © Can Stock Photo Inc. / solarsevenHandshake - © Can Stock Photo Inc. / a_papantoniouRoman - © Can Stock Photo Inc. / NejronChain ball - © Can Stock Photo Inc. / 3quarksJoker - © Can Stock Photo Inc. / sadRing - © Can Stock Photo Inc. / MarisabellIron claw - © Can Stock Photo Inc. / andreykuzminSwordman - © Can Stock Photo Inc. / prometeusMonk – © Can Stock Photo Inc. / FotoMaximumColour man - © Can Stock Photo Inc. / alphaspiritHero girl - © Can Stock Photo Inc. / ChoreographWhite boy - © Can Stock Photo Inc. / prometeusSword giver - © Can Stock Photo Inc. / prometeusBlue android - © Can Stock Photo Inc. / leafsomenBlue girl - © Can Stock Photo Inc. / FotoMaximumGreen robot - © Can Stock Photo Inc. / leafsomen