Slide 1

Slide 1 text

Blockchain:
 The World’s Slowest, Most Fascinating Database Stefan Tilkov
 [email protected]
 @stilkov

Slide 2

Slide 2 text

1.

Slide 3

Slide 3 text

Bitcoin • Practical application of cryptography to • maintain a pseudonymous, global history of transactions • with guaranteed consistency • without centralization or intermediaries • resistant to forgery and fraud • Created in 2009 by Satoshi Nakamoto • Most successful crypto-currency to date

Slide 4

Slide 4 text

Cryptography?
 Oh no! Don’t worry.

Slide 5

Slide 5 text

Hashing Hashing Algorithm 0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 12CA0219FABC1236

Slide 6

Slide 6 text

Hashing Algorithm 0100101001001 01011111101101 0010101001010 11010101001011 1000100101001 00101011111100 ABC8329FF129878E Hashing

Slide 7

Slide 7 text

0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 12CA0219FABC1236 Hashing

Slide 8

Slide 8 text

Hashing Hashing Algorithm 0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 0000************

Slide 9

Slide 9 text

Public & Private Keys Private Key Public Key Derive

Slide 10

Slide 10 text

Public & Private Keys Private Key Public Key Derive Sign 0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 12CA0219FABC1236 Private Key Public Key Derive

Slide 11

Slide 11 text

Sign 0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 12CA0219FABC1236 Private Key Public Key Validate Derive Public & Private Keys

Slide 12

Slide 12 text

Bitcoin: Vocabulary Transaction Block Wallet Address Node Blockchain Private Key Public Key maintains copy of creates consists of inputs encumbered with derived from derived from maintains validated by includes creates references previous Bitcoin contains

Slide 13

Slide 13 text

CPU FPGA GPU ASIC specific generic SHA-256² Ethash Scrypt X11

Slide 14

Slide 14 text

PoW Energy Discussion Position 1: “Catastrophic” • Continuously increasing demand • The Netherlands: 106TWh/y • Bitcoin: 65 TWh/y • Little to no value, only speculation • Use of cheap & dirty energy sources • Completely useless hardware with limited shelf life

Slide 15

Slide 15 text

PoW Energy Discussion Position 2: “No big deal” • Demand will not increase linearly • More useful than Christmas lights • Transparent costs, as opposed to classical banking • No need for multiple PoW chains • Use of cheap & clean energy sources, excess energy • ASIC-resistant algorithms

Slide 16

Slide 16 text

Bitcoin: Script • Intentionally limited scripting • P2SH (“pay to script hash”) address
 (as opposed to P2PKH) • Usage e.g. for multi-signature (joint accounts) • Challenge: To spend, provide valid input to script • Base script: Ensure recipient has private key matching a public key

Slide 17

Slide 17 text

2.

Slide 18

Slide 18 text

Ethereum vs. Bitcoin • Blockchain as technical basis • Currency: Ether • 1 Block approx. every minute • Currently proof of work, change to proof of stake planned • Platform for arbitrary contracts • State as part of the blockchain

Slide 19

Slide 19 text

Ethereum: Contracts & Code • Accounts can externally owned • Accounts can be embodied by code (“contract account”) • Contracts specify rules for interactions

Slide 20

Slide 20 text

“Here, run that code
 for me, will ya?”

Slide 21

Slide 21 text

Ethereum: Gas • Computation requires payment (“gas”) • Amount determined by caller • Execution of instructions consumes gas

Slide 22

Slide 22 text

3. Alternatives

Slide 23

Slide 23 text

Private (“permissioned”) ledgers • Used internally or with trusted partners • Lots of startups: clearmatics, Eris, Peernova, BigchainDB, … • OSS initiative: HyperLedger (Fabric, Sawtooth Lake)

Slide 24

Slide 24 text

Sidechain approach • Create additional/parallel state model • Anchor in blockchain for validation Main blockchain User Address Sidechain Address Side chain SC Address 1 SC Address 2

Slide 25

Slide 25 text

Generalized: Hybrid approach • Create additional/parallel state model • Use blockchain only where absolutely necessary Main blockchain Registry Checkpoints BOC (Boring Old Application)

Slide 26

Slide 26 text

4. So what?

Slide 27

Slide 27 text

The Good • The only practical, decentralized, open, secure, mature platform/ database • Resistant to censorship • Fascinating technically • Fascinating in terms of disruptive new business models The Bad • Slooooooow • Applied to many use cases without thinking The Ugly • Hyped like crazy • Wasteful with energy • Resistant to regulation

Slide 28

Slide 28 text

Stefan Tilkov @stilkov
 [email protected]
 Phone: +49 170 471 2625 innoQ Deutschland GmbH Krischerstr. 100 40789 Monheim am Rhein Germany Phone: +49 2173 3366-0 innoQ Schweiz GmbH Gewerbestr. 11 CH-6330 Cham Switzerland Phone: +41 41 743 0116 www.innoq.com Ohlauer Straße 43 10999 Berlin Germany Phone: +49 2173 3366-0 Ludwigstr. 180E 63067 Offenbach Germany Phone: +49 2173 3366-0 Kreuzstraße 16
 80331 München Germany Phone: +49 2173 3366-0 @stilkov That’s all I have.
 Thanks for listening! Questions?

Slide 29

Slide 29 text

www.innoq.com OFFICES Monheim Berlin Offenbach Munich Zurich FACTS ~125 employees Privately owned Vendor-independent SERVICES Strategy & technology consulting Digital business models Software architecture & development Digital platforms & infrastructures Knowledge transfer, coaching & trainings CLIENTS Finance Telecommunications Logistics E-commerce Fortune 500 SMBs Startups