SlideShare uma empresa Scribd logo
1 de 14
Bitcoin
Peer to peer Electronic cash, V1
Puneet Kumar
Why
 doCommerce(mymoney, myFinancialInstitution)
 assert(myFinancialInstitution.isTrustWorthy())
 doCommerceFI(myMoney){
 if(dispute)
 myMoney -= transactionCost; fiMoney ++; bankerProfit++;
 doCommercePost()
 loseMoney; sulk;
What if
 doCommerce(mymoney, you, useCrypto= true)
 assert(preventDoubleSpending)
 preventDoubleSpending()
 createCryptoProof(timeStampServer)
How
 Transactions
 TimeStamp Server
 Proof of Work
 Network
 Incentive
 Reclaiming Disk
space
 Payment
Verification
 Combining and
Splitting Value
 Privacy
 Calculation
 PRINT MONEY
Transactions
 I have an electronic coin. I want to give to you.
 I will digitally sign the coin, with my private key.
 Anyone can verify that its my signature, with my public
key.
 The digital signature will contain your public key; so
everyone knows you received the coin.
 Issue: What if I double spend.
Timestamp Server
 Input: electronic coin, timestamp of previous
transactions
 Process: Hash the input, use currentTime.
 Output: Publish the hash. This is proof that this coin
existed at this time; (thisTime is after previous
Timestamp)
 Timestamp server create proof that this transaction
took place at this time, in correct order.
Proof of Work
 Find a nonce which when hashed, creates a hash
staring with zero bits.
 This takes CPU effort.
 The Proof of Works’ form a chain. This chain is the
fraud deterrent. To defraud, spend exponential CPU
effort(dependent on chain length). Not worth it for long
chains.
Network
 Broadcast new transactions.
 Each node collects transactions, in a box/block.
 Creates Proof of Work. Publishes it.
 Creates chain of proof of work. As long as most nodes
know about longest chain of proofs, it must be the
correct transaction history.
Incentive
 Why should honest nodes participate
 Block is started with a coin. Later, when this coin is in
circulation, it creates chain of proofs.
 If a node own coins, it better keep the system running
with growing chain, and discouraging rogue nodes
from taking over.
Reclaiming Disk Space
 So many proofs. What about my disk space.
 Practically, there should not be need to prune the
block.
 But it can be done. Note to self: Study Merkle tree
Payment verification
 Verify the longest chain. How.
 Combining and Splitting values!
Privacy
 Don’t link public key to identity
 Create multiple public keys
Calculations
 Binomial Random Walk
 Gamblers Ruin problem
 Exponentially difficult
references
 Bitcoin: A Peer-to-Peer Electronic Cash System,
Satoshi Nakamoto bitcoin.pdf
 Hashcash

Mais conteúdo relacionado

Mais procurados

Mais procurados (8)

Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101
 
Satoshinakamotobitcoin
Satoshinakamotobitcoin Satoshinakamotobitcoin
Satoshinakamotobitcoin
 
Bitcoin presentation
Bitcoin presentationBitcoin presentation
Bitcoin presentation
 
Academic Ethereum
Academic EthereumAcademic Ethereum
Academic Ethereum
 
Capital management services- How does cryptocurrency mining work
Capital management services-  How does cryptocurrency mining workCapital management services-  How does cryptocurrency mining work
Capital management services- How does cryptocurrency mining work
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015
 

Semelhante a Bitcoin

Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficas
navajanegra
 
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docxBitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
jasoninnes20
 

Semelhante a Bitcoin (20)

Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficas
 
Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.
 
Introduction to Cryptocurrency
Introduction to CryptocurrencyIntroduction to Cryptocurrency
Introduction to Cryptocurrency
 
Some Thoughts On Bitcoin
Some Thoughts On BitcoinSome Thoughts On Bitcoin
Some Thoughts On Bitcoin
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
 
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
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Bitcoin story of programable currency
Bitcoin story of programable currencyBitcoin story of programable currency
Bitcoin story of programable currency
 
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docxBitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
Introduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original PaterIntroduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original Pater
 
Bitcoin White Paper
Bitcoin White PaperBitcoin White Paper
Bitcoin White Paper
 
Bitcoin whitepaper
Bitcoin whitepaperBitcoin whitepaper
Bitcoin whitepaper
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
Bitcoin Whitepaper
Bitcoin WhitepaperBitcoin Whitepaper
Bitcoin Whitepaper
 
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash SystemWhitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
 
The problem with blockchains
The problem with blockchainsThe problem with blockchains
The problem with blockchains
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 

Mais de Puneet Kumar (10)

Quick Scala
Quick ScalaQuick Scala
Quick Scala
 
Robotics using EV3 Introduction
Robotics using EV3 Introduction Robotics using EV3 Introduction
Robotics using EV3 Introduction
 
Chess1
Chess1Chess1
Chess1
 
Android accessibility
Android accessibilityAndroid accessibility
Android accessibility
 
Nagios
NagiosNagios
Nagios
 
System adm
System admSystem adm
System adm
 
Yoga
YogaYoga
Yoga
 
Gwt
GwtGwt
Gwt
 
Redis
RedisRedis
Redis
 
Html5 CSS3
Html5 CSS3Html5 CSS3
Html5 CSS3
 

Último

Haridwar Call Girls, 8699214473 Hot Girls Service Haridwar
Haridwar Call Girls, 8699214473 Hot Girls Service HaridwarHaridwar Call Girls, 8699214473 Hot Girls Service Haridwar
Haridwar Call Girls, 8699214473 Hot Girls Service Haridwar
ranekokila
 
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Nitya salvi
 

Último (20)

Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
 
VIP Bhiwandi Phone 8250092165 Escorts Service +Call +Girls Along With Ac Room
VIP Bhiwandi Phone 8250092165 Escorts Service +Call +Girls Along With Ac RoomVIP Bhiwandi Phone 8250092165 Escorts Service +Call +Girls Along With Ac Room
VIP Bhiwandi Phone 8250092165 Escorts Service +Call +Girls Along With Ac Room
 
Deira Call girls Service 0507330913 Call girls in Deira
Deira Call girls Service 0507330913  Call girls in DeiraDeira Call girls Service 0507330913  Call girls in Deira
Deira Call girls Service 0507330913 Call girls in Deira
 
Gonda Nitya salvi 8617370543 VIP model college girls ...
Gonda Nitya salvi 8617370543 VIP model college girls ...Gonda Nitya salvi 8617370543 VIP model college girls ...
Gonda Nitya salvi 8617370543 VIP model college girls ...
 
Haridwar Call Girls, 8699214473 Hot Girls Service Haridwar
Haridwar Call Girls, 8699214473 Hot Girls Service HaridwarHaridwar Call Girls, 8699214473 Hot Girls Service Haridwar
Haridwar Call Girls, 8699214473 Hot Girls Service Haridwar
 
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
 
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
 
Call Girls Bijnor Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Bijnor  Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Bijnor  Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Bijnor Just Call 8617370543 Top Class Call Girl Service Available
 
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
 
Jann Mardenborough's Better Half in Racing and Life
Jann Mardenborough's Better Half in Racing and LifeJann Mardenborough's Better Half in Racing and Life
Jann Mardenborough's Better Half in Racing and Life
 
Pakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girlsPakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girls
 
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
 
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
 
Hire 💕 8617370543 Mirzapur Call Girls Service Call Girls Agency
Hire 💕 8617370543 Mirzapur Call Girls Service Call Girls AgencyHire 💕 8617370543 Mirzapur Call Girls Service Call Girls Agency
Hire 💕 8617370543 Mirzapur Call Girls Service Call Girls Agency
 
Call 8617370543 Sangli Call girls with real photos and phone numbers
Call 8617370543 Sangli Call girls with real photos and phone numbersCall 8617370543 Sangli Call girls with real photos and phone numbers
Call 8617370543 Sangli Call girls with real photos and phone numbers
 
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
 
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
 

Bitcoin

  • 1. Bitcoin Peer to peer Electronic cash, V1 Puneet Kumar
  • 2. Why  doCommerce(mymoney, myFinancialInstitution)  assert(myFinancialInstitution.isTrustWorthy())  doCommerceFI(myMoney){  if(dispute)  myMoney -= transactionCost; fiMoney ++; bankerProfit++;  doCommercePost()  loseMoney; sulk;
  • 3. What if  doCommerce(mymoney, you, useCrypto= true)  assert(preventDoubleSpending)  preventDoubleSpending()  createCryptoProof(timeStampServer)
  • 4. How  Transactions  TimeStamp Server  Proof of Work  Network  Incentive  Reclaiming Disk space  Payment Verification  Combining and Splitting Value  Privacy  Calculation  PRINT MONEY
  • 5. Transactions  I have an electronic coin. I want to give to you.  I will digitally sign the coin, with my private key.  Anyone can verify that its my signature, with my public key.  The digital signature will contain your public key; so everyone knows you received the coin.  Issue: What if I double spend.
  • 6. Timestamp Server  Input: electronic coin, timestamp of previous transactions  Process: Hash the input, use currentTime.  Output: Publish the hash. This is proof that this coin existed at this time; (thisTime is after previous Timestamp)  Timestamp server create proof that this transaction took place at this time, in correct order.
  • 7. Proof of Work  Find a nonce which when hashed, creates a hash staring with zero bits.  This takes CPU effort.  The Proof of Works’ form a chain. This chain is the fraud deterrent. To defraud, spend exponential CPU effort(dependent on chain length). Not worth it for long chains.
  • 8. Network  Broadcast new transactions.  Each node collects transactions, in a box/block.  Creates Proof of Work. Publishes it.  Creates chain of proof of work. As long as most nodes know about longest chain of proofs, it must be the correct transaction history.
  • 9. Incentive  Why should honest nodes participate  Block is started with a coin. Later, when this coin is in circulation, it creates chain of proofs.  If a node own coins, it better keep the system running with growing chain, and discouraging rogue nodes from taking over.
  • 10. Reclaiming Disk Space  So many proofs. What about my disk space.  Practically, there should not be need to prune the block.  But it can be done. Note to self: Study Merkle tree
  • 11. Payment verification  Verify the longest chain. How.  Combining and Splitting values!
  • 12. Privacy  Don’t link public key to identity  Create multiple public keys
  • 13. Calculations  Binomial Random Walk  Gamblers Ruin problem  Exponentially difficult
  • 14. references  Bitcoin: A Peer-to-Peer Electronic Cash System, Satoshi Nakamoto bitcoin.pdf  Hashcash