The Blockchain Trevor Hyde

Similar documents
L3. Blockchains and Cryptocurrencies

Bitcoin. CS 161: Computer Security Prof. Raluca Ada Poipa. April 24, 2018

Bitcoin. CS 161: Computer Security Prof. Raluca Ada Popa. April 11, 2019

Computer Security. 13. Blockchain & Bitcoin. Paul Krzyzanowski. Rutgers University. Spring 2018

Surface Web/Deep Web/Dark Web

Introduction to Blockchains. John Kelsey, NIST

chainfrog WHAT ARE SMART CONTRACTS?

Bitcoin, Blockchain Technology, Block Chain Ecosystem : What You Need to Know?

CHALLENGES AND RISKS OF BLOCKCHAIN TECHNOLOGY

The Blockchain Technology

EVERYTHING YOU NEED TO KNOW ABOUT DIGITAL LEDGER TECHNOLOGY, THE BLOCKCHAIN AND CRYPTOCURRENCIESÓ (Part I June 2018)

Cisco Live /11/2016

an introduction to Blockchain Technology

Blockchain: from electronic cash to redefining trust

Accounting for crypto assets mining and validation issues

Transferring Data through an Ethereum Blockchain using Transactions

Blockchain Technology: Concepts. Whitepaper 1

Table of contents. 2

White Paper. Bizanc Blockchain

Introduction to Blockchain Technology

Polaris (XPR) Dividend Paying Mining Farm on the Blockchain

Blockchain made Simple

Mining Market Overview

Introduction to Blockchain Rick McMullin, bitheads, inc.

arxiv: v1 [q-fin.gn] 6 Dec 2016

Blockchain, data protection, and the GDPR

THE SOFEROX PROJECT THE TWIN-CHAIN BLOCKCHAIN

Understanding Blockchain & its implications for financial professionals

Blockchain Demystified

How Blockchain Technology Changes Marketing

November 2018 Abstract

LinkedIn /in/petkanic/

Journal of Multistate Taxation and Incentives (Thomson Reuters/Tax & Accounting) Volume 28, Number 4, July 2018

FLASH TOKEN WHITE PAPER

Lecture 23 Cryptocurrency. Stephen Checkoway University of Illinois at Chicago CS 487 Fall 2017 Slides from Miller s ECE 422

Investing in the Blockchain Ecosystem

BitShares is. a decentralized network. All About BitShares in Infographics

Building Blockchain Solutions

In the future, many kinds of cryptocurrencies will be born, and service competition will increase.

Cryptocurrency and Blockchain Technology

Blockchain and Bitcoin: Impact on Insurance Industry

Universal Payment Channels

Blockchains. How crypto-currencies work. Luke Anderson. 19th May University Of Sydney.

Healthcare, Blockchain and Smart Contracts: Emerging Issues for Healthcare Counsel

Technical Line. A holder s accounting for cryptocurrencies. What you need to know. Overview

The BitShares Blockchain

Cryptocurrencies (Session I) Computer Science and Law

Proof of work and Proof of stake explanation

Blockchain Technology in Banking and Financial Services

Democratic Cryptocurrency Unity

THE MOST INNOVATIVE AND LUCRATIVE WAY TO EARN BITCOIN.

whitepaper Abstract Introduction Features Special Functionality Roles in DiQi network Application / Use cases Conclusion

Blockchain & Bitcoin. Länsstyrelserna David Bauman

Private Wealth Management. Understanding Blockchain as a Potential Disruptor

IFRS Viewpoint. Accounting for cryptocurrencies the basics

Blockchain 2.0: Smart Contracts

BITCOINS and CRYPTOCURRENCIES How It Works. Principal Consultant CISA, CISSP

Crypto-Philanthropy: Virtual Currency and the Future of Charitable Giving

THE BLOCKCHAIN DISRUPTION. INSIGHT REPORT on Blockchain prepared by The Burnie Group

CONTENTS DISCLAIMER... 3 EXECUTIVE SUMMARY... 4 INTRO... 4 ICECHAIN... 5 ICE CHAIN TECH... 5 ICE CHAIN POSITIONING... 6 SHARDING... 7 SCALABILITY...

A.J. Bahou, LLM, MSECE Bahou Miller PLLC

Bitcoin Currency & Blockchain Technology

Polaris (XPR) Dividend Paying Mining Farm on the Blockchain

Bitcoin. Based on Bitcoin Tutorial presentation by Joseph Bonneau, Princeton University. Bonneau slides marked JB

BLOCKCHAIN IN PRACTICE

International Journal of Computer Engineering and Applications, Volume XII, Special Issue, April- ICITDA 18,

Will Bitcoin and the Block Chain change the way we Live and Work? Martyn Thomas CBE FREng Livery Company Professor of Information Technology

Understanding Cryptocurrency (updated May 2018) Ari Paul CIO, Managing Partner BlockTower Capital

Adviser alert IFRS Viewpoint Accounting for cryptocurrencies the basics

Bitcoin (BTC) C$4,943 (US$3,745) November 26, 3:15 pm

What is HomeBlockCoin

Blockchain: An introduction and use-cases June 12 th, 2018

BLOCKCHAIN EVOLUTION. The shifting perception of blockchain and the potential impact on businesses, governments and the investment landscape.

$110100$010. Crypto Currencies. Good or Evil? 10$ $100010

Blockchain and the Maritime Industry

Blockchain in Healthcare

Bitcoins and Blockchains

Blockchain explained. by Jerome Kehrli

Auditing in the Crypto-Asset Sector

What Blockchain Means For Your Organization s Insurance Program

The Blockchain Identity

Blockchain and Risk ISACA Northern UK, April 20 th, Mike Small CEng, FBCS, CITP Senior Analyst Kuppinger Cole

Bitcoin and why it will change the world

Digital Transformation A Focus on Blockchain

New Kids on the Blockchain: RIM Blockchain Applications Today & Tomorrow

IFRS Today. Introducing blockchain and cryptocurrencies. KPMG s podcast series on IFRS and financial reporting EPISODE 4 TRANSCRIPT. Host.

Safe Harbour FORWARD-LOOKING STATEMENTS

Blockchain and the possible impact on testing. New technology needs new testing?

In this article, I describe the technology behind Bitcoin s blockchain, and

Will Blockchain Change the Audit? Zhiyong Li. Jianghan University, Wuhan, China. Introduction. The Blockchain Technology

AlloyCoin: A Crypto-Currency with a Guaranteed Minimum Value

Working with Blockchain at Proof of Concept Stage. Ildefonso Olmedo Rebecca Marvell

Pottery Research is an organization that uses knowledge of law and financial markets, where it interacts, to assist investment and business stability

DEx.top Technical White Paper (V1.0)

IOV: a Blockchain Communication System

Decrypting Blockchain Technology: Basic Concepts & Legal Issues

INTRODUCTION BLOCKCHAIN TECHNOLOGIES. Nyenrode Breukelen, 28 March 2017 M. Oskar van Deventer

A block chain based decentralized exchange

The Blockchain Identity

Loyalty program on the Credits blockchain platform Building a program with blockchain and smart contracts. Issuing tokens as loyalty points.

Transcription:

The Blockchain Trevor Hyde

Bitcoin I Bitcoin is a cryptocurrency introduced in 2009 by the mysterious Satoshi Nakomoto. I Satoshi Nakomoto has never been publicly identified.

Bitcoin Over the past year the value of Bitcoin skyrocketed to nearly $20,000 per coin. This rapid appreciation generated a lot of interest in blockchains, the technology underlying Bitcoin.

Blockchains Everywhere I Many new cryptocurrencies and other blockchain applications sprung up subsequently. I While the blockchain bubble seems to have burst, the technology is here to stay!

Goals Blockchains somehow involve miners, cryptography, and lots of computers solving difficult math puzzles. My goal in this talk is to explain what blockchains are, how they work, and why they re awesome.

What problem do blockchains solve? A public record is a source of important public information. Examples: 1. Property ownership: Who owns stuff? 2. Voting/democracy: Who voted and for what? 3. Government records: What are they up to? 4. Monetary system: Who has money/credit? 5. Stock market: How s Big Corp doing? 6. Internet: Where s my website?

What problem do blockchains solve? A public record is any source of important public information. Examples: 1. Property ownership (government) 2. Voting/democracy (government) 3. Government records (government) 4. Monetary system (banks) 5. Stock market (corporations) 6. Internet (DNS servers, mostly in USA) Major problem: the public records need to have integrity in order for these systems to work, and this requires that we trust the institutions that maintain the public records!

Public Record Wish List We want a system of public records with the following properties: 1. Integrity: Cannot be maliciously altered. 2. Decentralized: Not maintained by a central authority. 3. Transparency: Can easily be audited for integrity, including the underlying system. Solution?

Public Record Wish List We want a system of public records with the following properties: 1. Integrity: Cannot be maliciously altered. 2. Decentralized: Not maintained by a central authority. 3. Transparency: Can easily be audited for integrity, including the underlying system. Solution? Blockchains!

What is a blockchain? Model for public records: a long list of information which can be added to but not changed. Break list into blocks and chain them together in chronological order = blockchain. Important innovations: 1. How the blockchain is stored. 2. How new blocks are added.

Who stores the blockchain? Everyone stores the blockchain! There is no official copy, the record is constantly maintained by anyone and everyone. Redundancy prevents errors and makes it difficult to alter. Think: DNA.

How are blocks added? Blocks are added to the blockchain by miners. The process of creating a block to add to the blockchain is called mining. The details of mining vary based on the application. I will focus on how it works for the Bitcoin blockchain.

What is the Bitcoin blockchain? The Bitcoin blockchain consists entirely of transactions of Bitcoin between addresses. You can imagine a room full of transparent safety deposit boxes filled with money. The boxes do not belong to anyone, all you need is a secret password to take Bitcoin out of a box.

What is the Bitcoin blockchain? Bitcoin never leaves this room! Transactions slipped into the room and carried out by miners. All transactions are recorded on the blockchain. Since the Bitcoin never leaves the room, it doesn t matter if it exists! In reality, there are no boxes with money, there is only the record of the transactions!

Mining blocks Pending transactions are submitted to a public pool. Miners collect a bunch of these transactions and put them together into a block. Miners have a complete copy of the blockchain. They use this to check that all the transactions are valid. Miners include one more transaction giving themselves some Bitcoin for doing such good work. This Bitcoin comes from nowhere! This is how all Bitcoins are made.

Mining blocks Finally comes the hard part: miners have to find a key to lock the block. Once they find the key, they announce their success to the world and the new block is added to the blockchain! The transactions in the block become Official. The new bitcoin is now real and belongs to the miner. Everyone starts working on the next block.

Lock that Block Locking is accomplished by adding a special key to the block which verifies that nothing in the block has been changed. Finding this key takes a long time for a computer, but can be easily checked once found. This process is called proof of work. It requires a cryptographic hash function.

Cryptographic Hash Functions A hash function is what the computer scientist calls the mathematician s function f : X Y. More concretely we think of a hash function as a function from all finite strings of text to strings of a fixed length or code words. A cryptographic hash function is a hash function f : X Y where for each code word y Y it is very difficult to find x X so that f(x) = y.

Example: SHA-256 Secure Hash Algorithm with 256-bit output. SHA(password) = 5e884898da28047151d0e56f8dc62927 73603d0d6aabbdd62a11ef721d1542d8 SHA(Password) = e7cf3ef4f17c3999a94f2c6f612e8a88 8e5b1026878e4e19398b23bd38ec221a SHA(pass word) = 78980e257f412437fbf9343787bc00ec 5b10636429bc000b290107335b089786

Proof of Work Let old key be the last key on the blockchain and let new hash be the hash value of our new block. We look for a string key so that SHA(old key + new hash + key) starts with n zeros. The larger n is, the harder it is to find key.

Proof of Work The most efficient way to find key is by trial and error, which takes a long time! People build mining farms to search for key. Once key is found, it is easy for anyone to check that it is correct.

Why mine? In order for this system to work, there need to be a lot of equally matched miners competing to build blocks. Why would anyone want to mine? If a miner successfully builds a block, then they get to reward themselves with (currently) 12.5 new bitcoins. As of today, that is approximately $80,000. At its peak value, 12.5 bitcoins was worth about $250,000. The value of bitcoin depends on the integrity of the blockchain. Rewards give miners an incentive to be good.

Why not build blocks in a bubble? Miners constantly compete to build the next block. When a miner successfully builds a block, they announce it to the world and everyone starts working on the next block. Why not ignore the blocks built by others and just keep working on your own? General protocol: go with the longest legitimate version of the blockchain. You have to finish your current block and the subsequent block before anyone else finishes the next block. Since mining takes so long and competition is strong, this is a bad strategy.

What if two blocks are made at the same time? Each miner works on the first legitimate version of the blockchain they encounter and switch only when a longer chain becomes available. The bitcoin universe temporarily splits into two parallel realities competing for existence. Whichever one succeeds first lives and the other dies.

Why not give yourself more money? Every bitcoin can be traced back to its birthplace. To give yourself more money you have to take it from someone else or create new money. Bitcoin can only be moved if you have the password for the address where it currently lives. Estimated that 4 million bitcoin have been lost forever ( $28 billion).

Why not erase transactions? Any change to an earlier part of the blockchain will (almost certainly) invalidate the key for that block, hence all subsequent blocks. The integrity of the blockchain is checked constantly to make sure all the keys are correct. To change an earlier block requires you to recompute the key for each subsequent block and to compute the key for the next block before anyone else finishes the next legitimate block. Alternatively: If you control the majority of computing power on the entire network, then you can control the consensus.

Problems Proof of Work combined with intense competition maintains the blockchain s integrity. Problem: Mining consumes a lot of resources. Problem: How do you give cryptocurrency value? Problem: Anonymous money promotes crime and terror. Alternative Problem: Bitcoin isn t anonymous enough!

Ethereum Bitcoin was the first blockchain, but since then many new applications of blockchain have been found. One of the most interesting is Ethereum. The Ethereum blockchain stores the state of a virtual machine.

Ethereum Think of the Ethereum blockchain as the memory for a decentralized computer. Programs called smart contracts live and operate on this virtual machine. Instead of money transactions, people submit new programs or interactions with existing programs. Miners = CPU. Miners process the instructions and update the state of the machine. Ethereum blockchain can do anything a blockchain can possibly do!

Example: DAO DAO = Decentralized Autonomous Organization. Company/organization/government with no central leader. Shareholders/members/citizens vote through a smart contract to make decisions collectively. Example: a DAO investment fund could use collective wisdom to make smart investments.

Example: CryptoKitties CryptoKitties is a game running on Ethereum where users can buy, sell, trade, and breed unique virtual cats. In December 2017, a CryptoKitty sold for $100,000.

Example: EtherTweet Tweet on the blockchain. Use policies encoded by a smart contract. Censorship impossible! Good? Bad?

Halting Problem What s to stop someone from flooding the virtual machine with malicious programs? What if a mistake is made and a smart contract gets stuck in an infinite loop? Turing proved that no program can detect infinite loops in all programs.

Ether Ethereum solves these problems by putting a cost on all computations. Computations on the Ethereum virtual machine require Ether to run. Ether is paid to miners for the work of processing the computations. Ether can be bought and sold like Bitcoin, but unlike Bitcoin it also has a specific purpose which gives it value.

Ether If someone wants to run malicious programs to clog the Ethereum network, they have to pay for it. If a mistake pushes a smart contract into an infinite loop, it eventually run out of Ether and stop.

Explore the Blockchain and SHA-256 Explore the Bitcoin or Ethereum blockchain yourself! Bitcoin: https://www.blockchain.com/explorer Ethereum: https://etherscan.io/ Compute SHA-256 hash values! SHA-256 with Java implementation: https://www.movable-type.co.uk/scripts/sha256.html Read the original white papers! Bitcoin: https://bitcoin.org/bitcoin.pdf Ethereum: https://github.com/ethereum/wiki/wiki/white-paper

Thanks!