SlideShare a Scribd company logo
BITCOIN
Jas Chhabra
James Wood
What is Money?
Should be hard to counterfeit
Maybe Good store of Value
??
But, today we mostly deal with money
electronically
For all electronic transactions, we need
somebody to maintain the records/Ledger
Typically it is a Bank or Financial
institution
Banks can be thought of as maintaining a
trusted ledger for accounts and transfers
TRUST
Today’s Electronic money
+ Lot of protections against theft
+ Easy to use
- Not Anonymous
- Requires Trust
Cash
+Anonymous
+ Hard to Counterfeit
- Gone if stolen
Imagine an electronic cash system
E$: Just bits
Cash
+Anonymous
+ Hard to Counterfeit
- Gone if stolen
Background: Digital signatures
Electronic Cash
Double Spending ?
Transaction Amount Reference Signed
Joe->John 2E$ Previous
Transaction
Transaction
Signed by Joe
Joe->Jane 2E$ Previous
Transaction
Transaction
Signed by Joe
Previous
transaction
sending E$
to Joe
Ledger to prevent double spending
Transaction Amount Balance Status
Joe->John X$ 0 Accepted
Joe->Jane X$ -X Rejected
Who maintains this ledger?
Who do we trust?
Bitcoin network maintains a
Decentralized, distributed, p2p
payment ledger
First let us understand what is a
Ledger entry in Bitcoin network or
a transaction
What is a Bitcoin transaction
: One example transaction
From: Joe’s Anonymous Address (pub key hash)
Which contains: 50 BTC
Hash: Previous transaction
To: Bob’s Anonymous address (pub key hash)
Send: 10 BTC
To: Joe’s new Anonymous address (pub key hash)
Send: Change of 40 BTC
Signature: Proof that Joe is allowed to spend the 50
BTC
Bob will spend
using the private
key
Next transaction by Bob
From: Bob’s Anonymous Address (pub key hash)
Which contains: 10 BTC
Hash: Previous transaction
To : John’s Anonymous address (pub key hash)
Send: 10 BTC
Signature: Proof that Bob is allowed to spend the 50
BTC
How does everybody agree on
the same version of ledger?
Brilliant solution by Satoshi
Nakamoto
Background: Hash based proof of work
Ideal Hash Function
Arbitrary length
input
Fixed length
output
• Random mapping
• Same output for same input
What is a Hash ?
Background: Hash based proof of work
E.g. For 128 bit hash
Given
X
Find
Y
<Hash (X||Y) 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
Blocks and Proofs
Previous Block’s hash
Nonce
Transaction 1
Trasnsaction 2
Transaction N
Previous Block’s hash
Nonce
Transaction 1
Trasnsaction 2
Transaction N
Block in progress / mining
Previous Block’s hash
Transaction 1
Trasnsaction 2
Miner’s transaction
Nonce+
Hash < Network difficulty decided target
Broadcast Proof to
the network
Miner’s transaction
Special transaction that transfers 25 BTC
(current) to an address provided by the
miner(reward going down)
Makes every miner’s proof of search
different
Incentive for miner
Network Difficulty
Adjusts to ensure blocks are
generated every 10 minutes
Ensures that probability of you finding
a block is proportional to your
computing power
Multiple miners are
working
This causes forks
Longest chain is hardest to
reverse
So it Wins
How does this prevent
fraud?
Lot of computing power needed to
reverse a Tx few blocks ago.
Network is moving ahead
Nearly impossible to catch up.
Summary
Only one history(longest) is accepted
by the network
Computing power == Vote
Miner’s transactions provide incentive
for mining
Bitcoin as a platform for new types of
transaction
Standard Transaction
To Spend: OP_CHECKSIG
Operation in a stack
based language
Lots of other possible operations:
For example: OP_CHECKMULTSIG, OP_ADD,
OP_IF,…
Combine operations to create new transactions
History and Color : James Wood
http://prezi.com/4dsf-gkdyw55/bitcoins/
Bitcoin: Future
GPU Mining Rig picture
Using Bitcoins: Demo
• Resources: https://www.weusecoins.com/en/getting-
started
Questions?

More Related Content

What's hot

CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101
Blockstrap.com
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015
Rhea Myers
 
Ethereum bxl
Ethereum bxlEthereum bxl
Ethereum bxl
Benjamin MATEO
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chain
Bohdan Szymanik
 
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
Crypto Currency Focus
 
SameUSD vs TrueUSD (TUSD)
SameUSD vs TrueUSD (TUSD)SameUSD vs TrueUSD (TUSD)
SameUSD vs TrueUSD (TUSD)
Samecoin
 
Bitcoin & Blockchain Instroduction
Bitcoin & Blockchain InstroductionBitcoin & Blockchain Instroduction
Bitcoin & Blockchain Instroduction
LeViet33
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain Introduction
NghiaCao8
 
Satoshinakamotobitcoin
Satoshinakamotobitcoin Satoshinakamotobitcoin
Satoshinakamotobitcoin
Nivaldo Torres
 
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Hariharan Ganesan
 

What's hot (10)

CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015
 
Ethereum bxl
Ethereum bxlEthereum bxl
Ethereum bxl
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chain
 
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
3 Compelling Reasons Why Investing In Cryptocurrency Now Could Prove Wise
 
SameUSD vs TrueUSD (TUSD)
SameUSD vs TrueUSD (TUSD)SameUSD vs TrueUSD (TUSD)
SameUSD vs TrueUSD (TUSD)
 
Bitcoin & Blockchain Instroduction
Bitcoin & Blockchain InstroductionBitcoin & Blockchain Instroduction
Bitcoin & Blockchain Instroduction
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain Introduction
 
Satoshinakamotobitcoin
Satoshinakamotobitcoin Satoshinakamotobitcoin
Satoshinakamotobitcoin
 
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
 

Similar to Bitcoin

Blockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John MaheswaranBlockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John Maheswaran
John M.
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
JESUNPK
 
bitcoin
bitcoinbitcoin
bitcoin
AasimRasheed3
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
ssuser3ab054
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
ANKITKUMARNATH1
 
The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
Davide Carboni
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currency
Shivek Khurana
 
Bitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash SystemBitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash System
Flavio Vit
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challenges
Sébastien Tandel
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
QuasarVentures
 
Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficasnavajanegra
 
Bitcoin story of programable currency
Bitcoin story of programable currencyBitcoin story of programable currency
Bitcoin story of programable currency
Hossam Soffar
 
Bitcoin
BitcoinBitcoin
Bitcoin
Sikun Lin
 
All you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchainAll you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchain
Marco Hauff
 
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Jim Flynn
 
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes ZwengBlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
BlockchainHub Graz
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
Ninad Sarang
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrencies
Sergey Ivliev
 
Introduction to Cryptocurrency
Introduction to CryptocurrencyIntroduction to Cryptocurrency
Introduction to Cryptocurrency
ROUNAKKEDIA1
 
Blockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.ioBlockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.io
Baiju Devani
 

Similar to Bitcoin (20)

Blockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John MaheswaranBlockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John Maheswaran
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
 
bitcoin
bitcoinbitcoin
bitcoin
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
 
The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currency
 
Bitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash SystemBitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash System
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challenges
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
 
Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficas
 
Bitcoin story of programable currency
Bitcoin story of programable currencyBitcoin story of programable currency
Bitcoin story of programable currency
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
All you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchainAll you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchain
 
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
 
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes ZwengBlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
BlockchainHub Graz Meetup #22 - Atomic Swaps - Johannes Zweng
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrencies
 
Introduction to Cryptocurrency
Introduction to CryptocurrencyIntroduction to Cryptocurrency
Introduction to Cryptocurrency
 
Blockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.ioBlockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.io
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 

Bitcoin

  • 3. Should be hard to counterfeit
  • 4. Maybe Good store of Value ??
  • 5. But, today we mostly deal with money electronically
  • 6. For all electronic transactions, we need somebody to maintain the records/Ledger
  • 7. Typically it is a Bank or Financial institution
  • 8. Banks can be thought of as maintaining a trusted ledger for accounts and transfers TRUST
  • 9. Today’s Electronic money + Lot of protections against theft + Easy to use - Not Anonymous - Requires Trust
  • 10. Cash +Anonymous + Hard to Counterfeit - Gone if stolen
  • 11. Imagine an electronic cash system E$: Just bits
  • 12. Cash +Anonymous + Hard to Counterfeit - Gone if stolen
  • 14. Electronic Cash Double Spending ? Transaction Amount Reference Signed Joe->John 2E$ Previous Transaction Transaction Signed by Joe Joe->Jane 2E$ Previous Transaction Transaction Signed by Joe Previous transaction sending E$ to Joe
  • 15. Ledger to prevent double spending Transaction Amount Balance Status Joe->John X$ 0 Accepted Joe->Jane X$ -X Rejected
  • 16. Who maintains this ledger? Who do we trust?
  • 17. Bitcoin network maintains a Decentralized, distributed, p2p payment ledger
  • 18. First let us understand what is a Ledger entry in Bitcoin network or a transaction
  • 19. What is a Bitcoin transaction : One example transaction From: Joe’s Anonymous Address (pub key hash) Which contains: 50 BTC Hash: Previous transaction To: Bob’s Anonymous address (pub key hash) Send: 10 BTC To: Joe’s new Anonymous address (pub key hash) Send: Change of 40 BTC Signature: Proof that Joe is allowed to spend the 50 BTC Bob will spend using the private key
  • 20. Next transaction by Bob From: Bob’s Anonymous Address (pub key hash) Which contains: 10 BTC Hash: Previous transaction To : John’s Anonymous address (pub key hash) Send: 10 BTC Signature: Proof that Bob is allowed to spend the 50 BTC
  • 21. How does everybody agree on the same version of ledger? Brilliant solution by Satoshi Nakamoto
  • 22. Background: Hash based proof of work Ideal Hash Function Arbitrary length input Fixed length output • Random mapping • Same output for same input What is a Hash ?
  • 23. Background: Hash based proof of work E.g. For 128 bit hash Given X Find Y <Hash (X||Y) 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
  • 24. Blocks and Proofs Previous Block’s hash Nonce Transaction 1 Trasnsaction 2 Transaction N Previous Block’s hash Nonce Transaction 1 Trasnsaction 2 Transaction N
  • 25. Block in progress / mining Previous Block’s hash Transaction 1 Trasnsaction 2 Miner’s transaction Nonce+ Hash < Network difficulty decided target Broadcast Proof to the network
  • 26. Miner’s transaction Special transaction that transfers 25 BTC (current) to an address provided by the miner(reward going down) Makes every miner’s proof of search different Incentive for miner
  • 27. Network Difficulty Adjusts to ensure blocks are generated every 10 minutes Ensures that probability of you finding a block is proportional to your computing power
  • 28. Multiple miners are working This causes forks Longest chain is hardest to reverse So it Wins
  • 29. How does this prevent fraud? Lot of computing power needed to reverse a Tx few blocks ago. Network is moving ahead Nearly impossible to catch up.
  • 30. Summary Only one history(longest) is accepted by the network Computing power == Vote Miner’s transactions provide incentive for mining
  • 31. Bitcoin as a platform for new types of transaction Standard Transaction To Spend: OP_CHECKSIG Operation in a stack based language Lots of other possible operations: For example: OP_CHECKMULTSIG, OP_ADD, OP_IF,… Combine operations to create new transactions
  • 32. History and Color : James Wood http://prezi.com/4dsf-gkdyw55/bitcoins/
  • 34. GPU Mining Rig picture
  • 35. Using Bitcoins: Demo • Resources: https://www.weusecoins.com/en/getting- started