Technical Analysis of Established Blockchain Systems

Similar documents
Lecture 6. Mechanics of Bitcoin

What is Bitcoin? How Bitcoin Works. Outline. Outline. Bitcoin. Problems with Centralization

BLOCKCHAIN Blockchains and Transactions Part II A Deeper Dive

Guided Research: Intelligent Contextual Task Support for Mails

Platform-Independent UI Models: Extraction from UI Prototypes and rendering as W3C Web Components

The Technology behind Smart Contracts

Hyperledger Quilt and Interledger Protocol. Nathan Aw - Technical Ambassador Edmund To - Organizer of Hyperledger Meetup Hong Kong

SKBI Cryptocurrency Technical Seminar Series Seminar 1: Basics: Cryptography and Transactions

FiiiCOIN. Yellow Paper. FiiiCOIN Yellow Paper v0.01. A versatile, scalable and energy efficient blockchain technology. Authors.

Ergo platform. Dmitry Meshkov

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

Radix - Public Node Incentives

The power of Blockchain: Smart Contracts. Foteini Baldimtsi

Bitcoin and Blockchain

Final Presentation Master s Thesis: Identification of Programming Patterns in Solidity

A Model-Driven JSON Editor

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

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

ENEE 457: E-Cash and Bitcoin

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

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

Blockchain Bitcoin & Ethereum

Towards an EA View Template Marketplace

Anupam Datta CMU. Fall 2015

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

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

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

Problem: Equivocation!

A prototypical tool to discover architecture changes based on multiple monitoring data sources for a distributed system

Consensus & Blockchain

Creating Software Architecture Documentation for MediaWiki Software Master s Thesis Final Presentation , Uliana Bakhtina

Creating a Software Architecture Documentation for MediaWiki Software Master s Thesis Kick-Off Presentation , Uliana Bakhtina

Blockchain! What consultants should know about it. Daniel

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

Mechanics of Bitcoin

Bitcoin and Blockchain Technology: Addresses, Transactions, and Blocks. Ferdinando M. Ametrano

Bitcoin. CS6450: Distributed Systems Lecture 20 Ryan Stutsman

Software Security. Final Exam Preparation. Be aware, there is no guarantee for the correctness of the answers!

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

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

Blockchain & Smart Contracts Introduction. Dr. Sebastian Bürgel

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

An analysis of the applicability of blockchain to secure IP addresses allocation, delegation and bindings draft-paillisse-sidrops-blockchain-01

Anupam Datta CMU. Spring 2017

Hyperledger fabric: towards scalable blockchain for business

Bitcoin, a decentralized and trustless protocol

Introduction to Bitcoin I

Key concepts of blockchain

Bitcoin/Blockchain. Workshop

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

Interledger. Internetworking for Money. Evan Schwartz Engineer at Ripple Co-Inventor of Interledger

BITCOIN PROTOCOL & CONSENSUS: A HIGH LEVEL OVERVIEW

Developing Blockchain Software

Micropayments, Now! Probabilistic Micropayments in Bitcoin

BlockFin A Fork-Tolerant, Leaderless Consensus Protocol April

Game Monetization based on Cryptocurrencies and Blockchains

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

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

GRADUBIQUE: AN ACADEMIC TRANSCRIPT DATABASE USING BLOCKCHAIN ARCHITECTURE

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

ICO Review: Raiden Network (RDN)

BLOCKCHAIN The foundation behind Bitcoin

Realization and Addressing Analysis In Blockchain Bitcoin

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

SpaceMint Overcoming Bitcoin s waste of energy

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

Privacy-Enabled NFTs: User-Mintable, Non-Fungible Tokens With Private Off-Chain Data

BLOCKCHAIN The foundation behind Bitcoin

DIGITAL ASSET RESEARCH

Page Total

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

Blockchain Certification Protocol (BCP)

Interledger. A Payment Protocol Inspired by IP. Adrian Hope-Bailie Evan Schwartz Stefan Thomas

Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains

Distributed Algorithms Bitcoin

SMARTDATA: Leveraging Blockchain to Securely Capture & Verify Scientific Provenance Data

Hyperledger Fabric v1:

Master thesis: Automatic Extraction of Design Decision Relationships from a Task Management System

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

Lecture 3. Introduction to Cryptocurrencies

Wormhole: A Smart Contract Solution for Bitcoin Cash

EECS 498 Introduction to Distributed Systems

Darkcoin: Peer to Peer Crypto Currency with Anonymous Blockchain Transactions and an Improved Proof of Work System

Jan Møller Co-founder, CTO Chainalysis

A Blockchain-based Mapping System

TABLE OF CONTENTS VERSION 3 - NOVEMBER Joe Roets - j03 - [DRAFT] DRAGONCHAIN ARCHITECTURE

Lecture 10. A2 - will post tonight - due in two weeks

Using Natural Language Processing and Machine Learning to Assist First-Level Customer Support for Contract Management

Deconstructing Blockchains: Concepts, Systems, and Insights

Digital Currencies: Algorithms and Protocols

Blockchain, cryptography, and consensus

Public Wallet Interface for Ripple

Blockchain Beyond Bitcoin. Mark O Connell

Introduction to Cryptography in Blockchain Technology. December 23, 2018

The Blockchain. Josh Vorick

cchannel Generalized State Channel Specification

Analyzing Bitcoin Security. Philippe Camacho

Development of a Social Extension for Real-Time Communication in CAD Software

Computer Support for the Analysis and Improvement of the Readability of IT-related Texts

Design and Implementation of a Bikesharing Service as part of an open Mobility-Ecosystem Master Thesis - Final Presentation Weidner, Lucas

Transcription:

Technical Analysis of Established Blockchain Systems Florian Haffke, 20.11.2017, Munich Chair of Software Engineering for Business Information Systems (sebis) Faculty of Informatics Technische Universität München wwwmatthes.in.tum.de

Outline 1. Research Questions 2. Blockchain Basics 3. Wrap-up Bitcoin, Ethereum and Ripple 4. Analysis Extract High-level and Design Space Haffke Final Presentation Master s Thesis sebis 2

Research Questions 1. Which are established Blockchain Systems? 2. What is the respective Setup of established Blockchain Systems? 3. How do established Blockchain Systems differ? 4. What are crucial Components and Characteristics of all established Blockchain Systems? 5. How can a Design Space of Blockchain Systems be defined? Haffke Final Presentation Master s Thesis sebis 3

Research Questions 1. Which are established Blockchain Systems? 2. What is the respective Setup of established Blockchain Systems? 3. How do established Blockchain Systems differ? 4. What are crucial Components and Characteristics of all established Blockchain Systems? 5. How can a Design Space of Blockchain Systems be defined? Haffke Final Presentation Master s Thesis sebis 4

Outline 1. Research Questions 2. Blockchain Basics 3. Wrap-up Bitcoin, Ethereum and Ripple 4. Analysis Extract High-level and Design Space Haffke Final Presentation Master s Thesis sebis 5

Chaining of Blocks Block 3 Header PrevBlock Hash: 0x200d3 Root Hash: 0x3ed4 Block 4 Header PrevBlock Hash: 0x033fe Root Hash: 0x45ed Block 5 Header PrevBlock Hash: 0x404fe Root Hash: 0x5f3d...... Tx Tx Tx Tx Tx Tx.. Tx Tx Tx Tx Tx Tx.. Tx Tx Tx Tx Tx Tx.. Block 3 Body Block 4 Body Block 5 Body Haffke Final Presentation Master s Thesis sebis 6

Transactions Graph Coinbase Tx Tx Tx Tx Coinbase Tx Tx Tx Coinbase Tx Tx 0 1 2 3 4 5 6 7 Block Time Haffke Final Presentation Master s Thesis sebis 7

Outline 1. Research Questions 2. Blockchain Basics 3. Wrap-up Bitcoin, Ethereum and Ripple 4. Analysis Extract High-level and Design Space Haffke Final Presentation Master s Thesis sebis 8

Goals Bitcoin Trustless and anonymous peer-to-peer electronic cash system Ethereum General-purpose platform for building transaction-based state machines Ripple One global connected payment network for cheaper and faster settlements Blockchains Tamper-resistant blocks with non-reversible transactions Haffke Final Presentation Master s Thesis sebis 9

1. Setup: State Data Set of Unspent-Transactions-Outputs (UTXOs) Mapping of account objects comprising balance and key-value storage to addresses Concatenation of single account ledgers comprising balance and address Haffke Final Presentation Master s Thesis sebis 10

2. Setup: Consensus and Transitions Proof of Work mining race Stack-based script execution binding transactions Proof of Work mining race Smart contract execution in Ethereum Virtual Machine Proof of Correctness without mining rewards Trivially updating account ledger value State transitions are triggered by transactions and finalized in a new block under distributed consensus. Every valid block alters the state deterministically. Haffke Final Presentation Master s Thesis sebis 11

3. Setup: Peer-to-Peer Network Full Node/Validator Client Node UNL Connection Semi-random Connection Distributed Decentralized Haffke Final Presentation Master s Thesis sebis 12

Outline 1. Research Questions 2. Blockchain Basics 3. Wrap-up Bitcoin, Ethereum and Ripple 4. Analysis Extract High-level and Design Space Haffke Final Presentation Master s Thesis sebis 13

A Generic View of Blockchain Systems Calculate State Transition System State0 Consensus State1 Developer Maintainer Comprise Store Genesis Block Hash Pointer Block1 Blockchain Protocol Rules -Codebase- Block Hashing Consensus Tx System Signing Network 1:1 Create n:m Transaction n:m n:m Transaction System n:m Token n:m Address User Network Sign Digital Signature Scheme Draw Haffke Final Presentation Master s Thesis sebis 14

Morphology Part 1 Haffke Final Presentation Master s Thesis sebis 15

Morphology Part 2 Haffke Final Presentation Master s Thesis sebis 16

Classification Part 1 Haffke Final Presentation Master s Thesis sebis 17

Classification Part 2 Haffke Final Presentation Master s Thesis sebis 18

Questions and Feedback Thank you for your Attention Haffke Final Presentation Master s Thesis sebis 19

B.Sc. Information Systems Florian Haffke Technische Universität München Faculty of Informatics Chair of Software Engineering for Business Information Systems Boltzmannstraße 3 85748 Garching bei München Tel +49.89.289. Fax +49.89.289.17136 florian.haffke@tum.de wwwmatthes.in.tum.de

Appendix Haffke Final Presentation Master s Thesis sebis 21

Research Strategy High-level Studies and Design Space Comparative System Studies Ancillary Literature Individual Study Bitcoin Individual Study Ethereum Individual Study Ripple Identify Systems ------------------------------------------ Basic Terms + Candidate Criteria Data Analysis Synthesis Haffke Final Presentation Master s Thesis sebis 22

Digital Signature Scheme and Addresses tx data tx data private key create signature verify public key hash address ECDSA Example Ethereum Haffke Final Presentation Master s Thesis sebis 23

Bitcoin Script Execution Transaction 1 scriptsig 4043660 b90d211... scriptsig scriptpubkey 335e627 2010ddc... OP_DUP OP_HASH160 3331fdb OP_EQUALVERIFY OP_CHECKSIG Execution 5145ded 2dd22e2 Transaction 2 OP_DUP OP_HASH160 4442ef3 OP_EQUALVERIFY OP_CHECKSIG Haffke Final Presentation Master s Thesis sebis 24

Next Transaction Ethereum Virtual Machine EVM Execution Cycle World State Account0 Account1 Account2 Machine State Gas available LIFO stack Word-array memory Environmental Tuple Sender Transaction Value Block Header Machine Code Gas Price Instructions 0x01 ADD 0x60 PUSH1 0x00 STOP Iteration Function 1. Get Instruction 2. Update States 3. Reduce available Gas Halt? No Yes Haffke Final Presentation Master s Thesis sebis 25

Ripple Issuance Transfers with Interledger Sender Receiver Alice Bob Application Transport Connector 1 Connector n Bank A Bank B Interledger ILP ILP ILP ILP Ledger XRP Plugin XRP Plugin USD Plugin USD Plugin XRP Plugin XRP Plugin Ripple Ledger USD-Ledger Ripple Ledger Haffke Final Presentation Master s Thesis sebis 26