Blockchain (a.k.a. the slowest, most fascinating database you ll ever see)

Similar documents
Distributed Ledger Technology & Fintech Applications. Hart Montgomery, NFIC 2017

ENEE 457: E-Cash and Bitcoin

Blockchain for Enterprise: A Security & Privacy Perspective through Hyperledger/fabric

Reliability, distributed consensus and blockchain COSC412

LECTURE 2 BLOCKCHAIN TECHNOLOGY EVOLUTION

Bitcoin. CS6450: Distributed Systems Lecture 20 Ryan Stutsman

Bitcoin (Part I) Ken Calvert Keeping Current Seminar 22 January Keeping Current 1

Consensus & Blockchain

BITCOIN PROTOCOL & CONSENSUS: A HIGH LEVEL OVERVIEW

ECC: Peer-to-Peer Electronic Cash with Trustless Network Services

Introduction to Bitcoin I

The Technology behind Smart Contracts

University of Duisburg-Essen Bismarckstr Duisburg Germany HOW BITCOIN WORKS. Matthäus Wander. June 29, 2011

Jan Møller Co-founder, CTO Chainalysis

Computer Security. 14. Blockchain & Bitcoin. Paul Krzyzanowski. Rutgers University. Spring 2019

ISSUSE AND FEATURES TO CONSIDER WHEN SELECTING A BLOCKCHAIN SYSTEM. Find us at

Security Analysis of Bitcoin. Dibyojyoti Mukherjee Jaswant Katragadda Yashwant Gazula

Ensimag - 4MMSR Network Security Student Seminar. Bitcoin: A peer-to-peer Electronic Cash System Satoshi Nakamoto

Problem: Equivocation!

CS 4770: Cryptography. CS 6750: Cryptography and Communication Security. Alina Oprea Associate Professor, CCIS Northeastern University

One size does not fit all

Key concepts of blockchain

BLOCKCHAIN Blockchains and Transactions Part II A Deeper Dive

Bitcoin and Blockchain

BLOCKCHAIN CADEC Pär Wenåker & Peter Larsson

DAVID ANDREWS, FOUNDER RYATTA BLOCKCHAIN FOUNDATIONS

The technical notes represented on the following pages are intended to describe and officially document the concepts behind NulleX Blockchain.

Active Planning Committee John Lindsay, Patent Attorney Tony Schuman, Investment Advisor Todd Russell, Gov t Contract Opportunities

ICS 421 & ICS 690. Bitcoin & Blockchain. Assoc. Prof. Lipyeow Lim Information & Computer Sciences Department University of Hawai`i at Mānoa

Blockchain, cryptography, and consensus

Blockchain Frameworks

Who wants to be a millionaire? A class in creating your own cryptocurrency

The security and insecurity of blockchains and smart contracts

Bitcoin, a decentralized and trustless protocol

Unblockable Chains. Is Blockchain the ultimate malicious infrastructure? Omer Zohar

Chapter 13. Digital Cash. Information Security/System Security p. 570/626

Ethereum. Campbell R. Harvey* Duke University and NBER. Ashwin Ramachandran Duke University. Brent Xu ConsenSys. Innovation and Cryptoventures

REST: I don't Think it Means What You Think it Does. Stefan

Smalltalk 3/30/15. The Mathematics of Bitcoin Brian Heinold

Distributed Ledger With Secure Data Deletion

Upgrading Bitcoin: Segregated Witness. Dr. Johnson Lau Bitcoin Core Contributor Co-author of Segregated Witness BIPs March-2016

Executive Summary. (The Abridged Version of The White Paper) BLOCKCHAIN OF THINGS, INC. A Delaware Corporation

Blockchain. CS 240: Computing Systems and Concurrency Lecture 20. Marco Canini

As a 3rd generation currency, not only are transactions secured, private and fast, you actually get paid for holding DigitalPrice coins.

Hyperledger fabric: towards scalable blockchain for business

Lecture 3. Introduction to Cryptocurrencies

Alternatives to Blockchains. Sarah Meiklejohn (University College London)

KDC COIN WHITEPAPER KDC COIN WHITEPAPER.

CS 4770: Cryptography. CS 6750: Cryptography and Communication Security. Alina Oprea Associate Professor, CCIS Northeastern University

Blockchain Certification Protocol (BCP)

EECS 498 Introduction to Distributed Systems

Ergo platform. Dmitry Meshkov

Blockchain Bitcoin & Ethereum

CS 251: Bitcoin and Crypto Currencies Fall 2015

Privacy based Public Key Infrastructure (PKI) using Smart Contract in Blockchain Technology

Biomedical Security. Some Security News 10/5/2018. Erwin M. Bakker

Blockchain! What consultants should know about it. Daniel

Biomedical Security. Cipher Block Chaining and Applications

International Journal of Computer Engineering and Applications, Volume XIII, Issue II, Feb. 19, ISSN

P2P BitCoin: Technical details

Blockchain & Distributed Internet Infrastructure

Transactions as Proof-of-Stake! by Daniel Larimer!

DEV. Deviant Coin, Innovative Anonymity. A PoS/Masternode cr yptocurrency developed with POS proof of stake.

Technical Analysis of Established Blockchain Systems

Nervos CKB: A common knowledge base for blockchains and applications

Bitcoin. Arni Par ov. December 17, 2013

An Introduction to Blockchain and Distributed Ledger Technology

GENESIS VISION NETWORK

Blockchains & Cryptocurrencies

Whitepaper Rcoin Global

A Perspective on Bitcoin and Blockchain

Lecture 44 Blockchain Security I (Overview)

Digital Currencies: Algorithms and Protocols

DIGITAL ASSET RESEARCH

Blockchain without Bitcoin. Muralidhar Gopinath October 19, 2017 University at Albany

Bitcoin, Security for Cloud & Big Data

I. Introduction. II. Security, Coinage and Attacks

Token White Paper. Global marketplace based on Block chain for small-scale business I ver P a g e

Blockchain, Cryptocurrency, Smart Contracts and Initial Coin Offerings: A Technical Perspective

BBc-1 : Beyond Blockchain One - An Architecture for Promise-Fixation Device in the Air -

Biomedical and Healthcare Applications for Blockchain. Tiffany J. Callahan Computational Bioscience Program Hunter/Kahn Labs

What is Bitcoin? Consensus technology has the power to do for economics what the internet did for information - Dan Larimer

Conceptual Framework for Legal & Risk Assessment of Blockchain Crypto Property (BCP)

Introduc)on to Bitcoin

Blockchain (de)constructed

Blockchain-backed analytics: Adding blockchain-based quality gates to data science projects

Brown University. Yana Hrytsenko. Final Project: Blockchain for PKI: Using Blockchain data structure for Public Key. Infrastructure.

What s new under the blockchain sun. HYPERLEDGER FABRIC AND A SHORT SURVEY OF INTERLEDGER. DIDIER PH MARTIN, PHD.

Analyzing Bitcoin Security. Philippe Camacho

SpaceMint Overcoming Bitcoin s waste of energy

Decentralized Database for Developers. White Paper v March 31,2018

SmartPool: practical decentralized pool mining. Loi Luu, Yaron Velner, Jason Teutsch, and Prateek Saxena August 18, 2017

TOPPERCASH TOPPERCASH WHITEPAPER REFORM THE BEST OF BLOCKCHAIN

OpenbankIT: a banking platform for e- money management based on blockchain technology

Hyperledger Fabric v1:

About cryptocurrencies and blockchains part 1. Jyväskylä 17th of April 2018 Henri Heinonen

Ergo platform: from prototypes to a survivable cryptocurrency

Elphyrecoin (ELPH) a Private, Untraceable, ASIC-Resistant CryptoCurrency Based on CryptoNote

The Blockchain. Josh Vorick

Proof-of-Stake Protocol v3.0

Transcription:

Blockchain (a.k.a. the slowest, most fascinating database you ll ever see) GOTO Amsterdam 13 June, 2017 Stefan Tilkov, @stilkov

I don t know Blockchain and so can you

1.

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

Cryptography? Oh no! Don t worry.

Hashing 0100101001001 01011111100101 0010101001010 11010101001011 1000100101001 00101011111100 Hashing Algorithm 12CA0219FABC1236

Hashing 0100101001001 01011111101101 0010101001010 11010101001011 1000100101001 00101011111100 Hashing Algorithm ABC8329FF129878E

Hashing 0100101001001 01011111100101 12CA0219FABC1236 0010101001010 11010101001011 1000100101001 00101011111100

Public & Private Keys Private Key Derive Public Key

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

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

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

Bitcoin > The technology inputs incl > The currency Transactio > Created via mining (coinbase tx) Bitcoin creates > 1 Bitcoin (BTC) = 1,000 mbtc = 1,000,000 ubtc contains maintain = 1,000,000,000 Satoshi Wallet > Coins are maintained as part of transactions (not anonymous) Private Key

Bitcoin: Wallet Transaction > Maintains private keys, public keys, addresses Bitcoin creates > Used to sign transactions (sort of) contains maintains > Implementations for mobile devices, Mac, Wallet e Windows, Linux Addre > Online wallets a.k.a. a very bad idea Private Key > Offline wallet derived from Public Key derived f

Bitcoin: Transactions > Multiple inputs (unspent transaction output, inputs includes UTXO) Transaction validated by consists of > Inputs can only be spent by owner creates Block > Multiple outputs maintains cr > Unspent outputs are encumbered with Wallet encumbered with reference previous recipient key Address > Can be sent to any node > Will be included in (validated by) block

Bitcoin: Blocks > Reference transactions includes Blockchain > Include proof of work saction validated by consists of > Reference previous block > Number of blocks relate to level of trust Block creates intains encumbered with references previous Address

Bitcoin: Mining & proof of work > Proof: Find a SHA256 input that meets network difficulty target ) > Cheaper to play by the rules than to cheat > Difficulty adjusted over time > Only way for new bitcoins to get introduced > Optional transaction fee

Bitcoin: Nodes > Form a peer-to-peer network Blockchain maintains copy o > Relay messages lidated by consists of > Validate transactions and blocks Block creates Node > Maintain a copy of the blockchain umbered with references previous

Bitcoin: Blockchain > Linked list of all blocks ever created > Can and will be validated by every node Blockchain maintains copy of > History of every transaction ever performed ted by consists of > Not actually a ledger Block creates Node bered h references previous

Bitcoin: Validation/Consensus > Blocks chain the more blocks reference a block, the better > Transactions considered immutable after 6 blocks > Consensus by means of longest chain

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 correct private key

2.

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

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

Here, run that code for me, will ya?

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

Ethereum: Programming > Low-level byte code: EVM > Multiple languages > LLL (Lisp-like, low-level) > Serpent (Pythonesque) > Solidity (similar to JavaScript, but statically typed) > Executed by every node mining or validating blocks

3. Alternatives

Alternative approaches > Altcoins (Litecoin, Namecoin, Dogecoin, Devcoin, Bytecoin, ) > Colored coin > Metacoin > Sidechains

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

4. What s cool about it?

Distributed Consensus > Trustable, secure > Immediate > (Mostly) Unbreakable

Open access > Anyone can participate > No centralized control > Globalized > Detour: Politics

Disrupting intermediaries > Intermediaries provide consistency as a service > Risk of monopolies > Expensive > Possibly influenced by politics > Blockchain cuts out the middle man

Cost reduction for clearing > Collaborations rely on clearing e.g. in finance, logistics, energy > Reduced cost due to permissioned model (more trust)

5. What about the bad parts?

Bitcoin: Fraud > Every bitcoin theft due to exchanges > Not a single successful attack on the blockchain itself > Much less vulnerable than any other currency

Ethereum: Vulnerabilities > TheDAO on Ethereum: 150 million USD investment > Theft (?) of 60 million USD due to bug in contract code > Ethereum Hard-fork If code is law, what s wrong with bugs?

Bitcoin: Scalability > 1 block every ten minutes > Current size limit: 1 MB 5,000 tx 600 sec 8.3 tx/s > Current visa tx rate: 5,000-50,000 tx/s > Possible solutions: > Increase block size > Segregated witness

Bitcoin: Volatility > Exchange rate with other currencies (real and crypto) > Much more stable in recent months > Will likely calm down even more > Has hurt the brand significantly

6. Use Cases

Property Management > Record (partial) ownership > Trade property/shares > Identity > DRM > Access Control > Digital Assets

Obligations > Emission fees > Debt > Clean energy fares

Distributed Autonomous Organizations > Complex interactions among participants > Multi-tiered > Corporation contracts as code

Other use cases > Fully automated payment (Charging, Usage fees Maut ) > Public records of GPS tracking > Safe auditing with legitimate (limited) law enforcement access

7. Summary (a.k.a. what I believe today)

Trusted, distributed, decentralized platforms will play a significant role in many industries

Don t dismiss Bitcoin, Ethereum or public, permissionless blockchains in general just yet

Permissioned ledgers may be the future or just an intermediate step to a new shared platform (similarly to the Internet)

The barrier to entry has never been this low commercially as well as from a technical perspective

Disrupt or be disrupted

Thank you. @stilkov Questions? Stefan Tilkov stefan.tilkov@innoq.com Phone: +49 170 471 2625 Comments? innoq Deutschland GmbH innoq Schweiz GmbH Krischerstr. 100 Ohlauer Straße 43 Ludwigstr. 180E Kreuzstraße 16 Gewerbestr. 11 40789 Monheim am Rhein 10999 Berlin 63067 Offenbach 80331 München CH-6330 Cham www.innoq.com Germany Phone: +49 2173 3366-0 Germany Phone: +49 2173 3366-0 Germany Phone: +49 2173 3366-0 Germany Phone: +49 2173 3366-0 Switzerland Phone: +41 41 743 0116