COMS 486 Iowa State University Introduction to Bitcoin A P2P Electronic Cash System.

Slides:



Advertisements
Similar presentations
The easy answers to the hard questions! WHAT IS BITCOIN?
Advertisements

Secure Multiparty Computations on Bitcoin
Bitcoin: A New Internet Currency Stephen Clayton Senior Economic Education Specialist Federal Reserve Bank of Dallas The opinions expressed are solely.
CS425/CSE424/ECE428 — Distributed Systems — Fall Nikita Borisov - UIUC1.
Bitcoin. What is Bitcoin? A P2P network for electronic payments Benefits: – Low fees – No middlemen – No central authority – Can be anonymous – Each payment.
BITCOIN – 2014 John BlackSpring Digital Currency  Chaum’s ideas in the 1980’s  All ideas required a central bank or single point of trust  Chaum.
Michal Kriziak MA1N0218 Financial Management The Bitcoin Currency.
TrustMe: Anonymous Management of Trust Relationships in Decentralized P2P Systems Aameek Singh and Ling Liu Presented by: Korporn Panyim.
Bitcoin Double Spending Attack Karame, Androulaki & Capkun Presented by Subhro Kar CSCE 715, Fall 2013.
Feb 18, 2003Mårten Trolin1 Previous lecture Block ciphers Modes of operations First assignment Hash functions.
Advanced Computer Communications PROFESSOR:STUDENT: PROF. DR. ING. BRAD REMUS STEFAN FEILMEIER FACULTATEA DE INGINERIE HERRMANN OBERTH MASTER-PROGRAM.
Public-key Cryptography Montclair State University CMPT 109 J.W. Benham Spring, 1998.
CNS2010handout 10 :: digital signatures1 computer and network security matt barrie.
CMSC 414 Computer and Network Security Lecture 9 Jonathan Katz.
BITCOIN An introduction to a decentralised and anonymous currency. By Andy Brodie.
Chapter 9 Cryptographic Protocol Cryptography-Principles and Practice Harbin Institute of Technology School of Computer Science and Technology Zhijun Li.
Bitcoin is the FUTURE of MONEY!!
J. Wang. Computer Network Security Theory and Practice. Springer 2008 Chapter 4 Data Authentication Part II.
Computer Science Public Key Management Lecture 5.
Page 1 Secure Communication Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation.
The world’s first decentralized digital currency Meni Rosenfeld Bitcoil 29/11/2012Written by Meni Rosenfeld1.
On Power Splitting Games in Distributed Computation: The case of Bitcoin Pooled Mining Loi Luu, Ratul Saha, Inian Parameshwaran, Prateek Saxena & Aquinas.
Bitcoin (what, why and how?)
Key Management and Diffie- Hellman Dr. Monther Aldwairi New York Institute of Technology- Amman Campus 12/3/2009 INCS 741: Cryptography 12/3/20091Dr. Monther.
Bitcoin introduction at Bizcamp Ghent June 11th 2011 ( I have tried to explain bitcoin with the following metaphors: – a cash register.
10. Key Management. Contents Key Management  Public-key distribution  Secret-key distribution via public-key cryptography.
6. Esoteric Protocols secure elections and multi-party computation Kim Hyoung-Shick.
Bitcoins and the Digital Economy Presented By: Matt Blackman.
Cryptography and Network Security (CS435) Part Eight (Key Management)
1 Bitcoin A Digital Currency. Functions of Money.
Chapter 3 (B) – Key Management; Other Public Key Cryptosystems.
BITCOIN What is bitcoin? Put simply, bitcoin is a digital currency. It can be used to make electronic payments face to face or over the internet just like.
Bitcoin today (October 2, 2015)
Intro to Block Chain Bitcoin. Blocks ●Ethereum - block chain ●Dogecoin - block chain ●Ripple - not a block chain ●Stellar - not a block chain ●Bitcoin.
Bitcoin Jeff Chase Duke University.
Electronic Cash R. Newman. Topics Defining anonymity Need for anonymity Defining privacy Threats to anonymity and privacy Mechanisms to provide anonymity.
PROACTIVE SECRET SHARING Or: How to Cope With Perpetual Leakage Herzberg et al. Presented by: Avinash Ravi Kevin Skapinetz.
Key Management Network Systems Security Mort Anvari.
The EigenTrust Algorithm for Reputation Management in P2P Networks Sepandar D.Kamvar Mario T.Schlosser Hector Garcia-Molina.
Bitcoin Tech Talk Zehady Abdullah Khan (Andy) Graduate Assistant, Computer Science Department, Purdue University.
Bitcoin is a cryptographic currency that has been in continuous operation over the last 3 years. It currently enjoys an exchange rate of $4.80 (as of April.
Section #9: Bitcoins. Digital currency Unique string of bits Use cryptography for security and privacy Not tied to names: hard to trace Finite set of.
Fall 2006CS 395: Computer Security1 Key Management.
Bitcoin Based on “Bitcoin Tutorial” presentation by Joseph Bonneau, Princeton University Bonneau slides marked “JB”
Bitcoin: Fake, Virtual and Real Partha Dasgupta Arizona State University Tempe, AZ, USA Note: “Current” numbers used are from mid-2015.
Block Chain 101 May 2017.
Motivation ✓ ✘ ? Bitcoin/Ideal Credit Card Works on Internet
Mechanics of Bitcoin Part II
Virtual currency? Crypto-currency? Internet Money? Property?
Bitcoin - a distributed virtual currency system
Distributed Systems for Information Systems Management
Cryptocurrencies By Rui Sakurai and Shane Spears
So what is Blockchain anyway?
Deanonymization of Clients in Bitcoin P2P Network
protocollo e casi studio
Zcash Mining – A Guide For Beginners. Zcash (also known as ZEC and seventeenth most valued cryptocurrency with market capitalization of $500 million)
Technical Overview of Bitcoin
Let’s build a Blockchain!
Life skill presentation
Focus Group 3: Blockchain and digitalisation
Bitcoin: A New Internet Currency
Blockchain Concepts RISK FORUM 2017 Hash function (e.g. SHA-256)
Kai Bu 04 Blockchain Kai Bu
Presentation On Bit-Coins.
Blockchains and Auditing
Faculty Seminar Series Blockchain Technology
CSE 552 preparation for reading
Campbell R. Harvey Duke University and NBER
Cryptocurrency and Blockchain Technology
Presentation transcript:

COMS 486 Iowa State University Introduction to Bitcoin A P2P Electronic Cash System

Bitcoin starts from a simple idea: Creating a “Free Currency” that does not relay on any authority/Banking System. BANK

Design a protocol to generate Bitcoin on the network. Everyone must agree on the protocol The owner of the Bitcoin can use it to buy things from others on the P2P network. It is called a Transaction. The transaction is broadcasted on the whole network such that everyone knows it. 4 Problem: How to safely conduct a transaction ?

Use the Public-Private Key technology to ensure Verifiable Transaction Transaction of 1 Bitcoin from A to B: 1.A asks for B’s public key. 2.A add B’s public key at the end of previous transactions, and sign it with his private key. 3.Broadcast the transaction to the whole network. Problem: How to prevent A from Cheating ?

We need a mechanism to store all transactions ever happened on the P2P network in a timely manner We can use a simple chain of evidence to store all transactions distributed on the P2P network Problem: The Chain is too easy to fake

The Chain of evidence must require significant amount of efforts to build, such that no one can easily fake it. Proof of Efforts? In Computer Science, we usually use solving hard computational problem as a proof of efforts, aka: Proof of Work I This technique can be used to make generating the chain of evidence very hard.

Besides all the necessary information, each block of the Chain of evidence need also have a field of Random Number, called Nonce. I Even if we change 1 bit of Nonce, the hash value of the entire block will be totally changed. How to choose Nonce? Requirement for a Valid Block: The hash value of each block MUST start with n Continuous Zeroes. It is very hard to find such a nonce number for large n.

Example of Valid Block How can this mechanism prevent an adversary from faking a block? I A Transaction is broadcasted on the P2P network When a valid block is generated, it is broadcasted on the P2P network too. 1 3 EVERYONE on the network starts to compute a valid block to add in the transaction 2 The first valid block will be accepted by the P2P network. 4 To generate a Fake but Valid block, the adversary must be faster than EVERYONE else combined. This mechanism works as long as the power of good guy is larger than cooperated bad guy. Problem: How to motive everyone participate in computing blocks? ?

Whoever contributes a Valid Block receives Bitcoin as reward I Bitcoin Mining You can do it too! Problem: If hardware becomes faster and faster, will there be Bitcoin Inflation? 1.Get a Bitcoin Account. (Join the P2P network)Get a Bitcoin Account 2.Download a mining software (Or write your own)Download a mining software 3.Run the software! 4.Pray, or go get a faster machine.

The difficulty of computing a Valid Block will be raised if the number of Bitcoin generated grows fast. The faster you mine  The harder it is to mine The overall speed is controlled to 6 blk/hr Requirement for a Valid Block: The hash value of each block MUST start with n Continuous Zeroes. It is very hard to find such a nonce number for large n. Problem: Even speed of issuing new Bitcoin is controllable, the number of existing Bitcoin is still growing always. Is the number of Bitcoin Infinite or Finite?

The number of Bitcoin is finite What to do when we run out of Bitcoin? Fractional-reserve Banking. i.e., break down existing Bitcoin into smaller units like 0.1 Bitcoin, 0.01 Bitcoin, etc. Estimated time of running out Bitcoin: 2140

Global Transaction MapTransaction ChartsMarket Price