SlideShare a Scribd company logo
1 of 36
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 101Blockstrap.com
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Rhea Myers
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chainBohdan 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 WiseCrypto 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 InstroductionLeViet33
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain IntroductionNghiaCao8
 
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 MaheswaranJohn M.
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfJESUNPK
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxssuser3ab054
 
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 currencyShivek 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 SystemFlavio 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 challengesSébastien Tandel
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesQuasarVentures
 
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 currencyHossam Soffar
 
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 blockchainMarco 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 ZwengBlockchainHub 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 SarangNinad Sarang
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesSergey Ivliev
 
Introduction to Cryptocurrency
Introduction to CryptocurrencyIntroduction to Cryptocurrency
Introduction to CryptocurrencyROUNAKKEDIA1
 
Blockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.ioBlockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.ioBaiju 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
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and 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

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

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