SlideShare a Scribd company logo
1 of 18
1 
Bitcoin 
A Digital Currency
Functions of Money
Bank’s role 
● A financial institution 
● Accepts deposits and lends money 
● Centralized system 
● Offers financial services 
● Processes payments from two or more commercial 
parties 
● Today deals with a lot of Electronic Payments
What is Bitcoin? 
● A digital currency (or aka cryptocurrency) 
● Software-based payment system 
● The payment process acts between (potentially) 
anonymous users 
● Based on peer-to-peer network 
● A lot of cryptography but nothing is encrypted :-) 
● Without………..
Who? 
Satoshi Nakamoto 
http://www.newsweek.com/2014/03/14/face-behind-bitcoin-247957.html
Let’s make a payment 
Alice wants to 
give 1 BTC to 
Bob 
• Alice: 
• retrieves the Bob’s address 
• generates own Public/Private key 
• builds a message with: 
• Transaction of 1 BTC to Bob’s address 
• Transaction’s signature 
• Announces her public key for signature verification 
• broadcasts the message to the Bitcoin network
Why Public/Private key? 
● Bob has the Alice’s public key 
● Only Alice knows the private key 
● Bob verifies the transaction signature using the 
Alice’s public key 
● Only Bob is authorized 
because has the private 
key 
● Double-Spending 
problem?
Solve Double-Spending Problem 
● Transaction details are sent and forwarded to all 
Bitcoin nodes 
● A Block-Chain contains all transaction done 
● Each blocks into chains must be valid and must 
include a proof-of-work 
Network
Bitcoin Address 
● A Bitcoin-balance is associated to the Bitcoin address 
● A Bitcoin Address is derived by a ECDSA Public Key by using hash 
functions 
512 bit 
ECDSA 
Public 
Key with 
prefix 
SHA-256 
of Public 
Key with 
prefix 
RIPEM1 
60 of 
SHA-256 
output 
Base58 
Encoding 
(HASH + 
Checksu 
m) 
1422cPZaPRiqeWL8njn87NjLwgZxxmZmKp 
Bitcoin Address
Bitcoin transaction 
● Composed by one/more Input and Output 
● Input(s) is a reference to an output(s) in a different 
transaction 
● Uses Scripting system (Forth-like - stack based) to 
verify signatures and addresses 
● Transaction can include fees
Bitcoin transaction
Bitcoin transaction is 
Signed 
● The Transaction from B to C is signed with B’s 
private key 
● The B’s public key is included in the transaction
Block Chain 
● A transaction databases shared by all 
nodes (like a ledger) 
● Each block must contain a Proof-of-Work 
● Contains a reference (hash) to the 
previous block 
● Block chain avoids the double spending
Transactions into block 
Merkle Tree
Proof-of-Work 
● To add a block to a Block Chain 
● Corresponds at time of computation 
● The time is spent computing hash function 
● The Proof-of-Work is builded when the hash’s output 
has a specific property 
● A block with a Proof-of-Work each 10 minutes about 
● The difficulty is established by a target
Miners 
● The miners spends time to find a Proof-of-Work in 
order to receive a Bitcoin fee (now is 25 BTC) 
● The reward reduces 50% every 4 years 
● The mining process will end when 21 million bitcoins 
will be reached 
● After that time the miners will earns imposing a 
transaction fee
Wallet software 
● Wallet software is used to generate address and 
make transaction
ATM in the world

More Related Content

What's hot

What's hot (20)

Boolberry reduces blockchain bloat
Boolberry reduces blockchain bloatBoolberry reduces blockchain bloat
Boolberry reduces blockchain bloat
 
BLOCKCHAIN TECHNOLOGY
BLOCKCHAIN TECHNOLOGYBLOCKCHAIN TECHNOLOGY
BLOCKCHAIN TECHNOLOGY
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
An Introduction to Bitcoin, Blockchain and Cryptocurrency
An Introduction to Bitcoin, Blockchain and CryptocurrencyAn Introduction to Bitcoin, Blockchain and Cryptocurrency
An Introduction to Bitcoin, Blockchain and Cryptocurrency
 
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
 
Blockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical PeopleBlockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical People
 
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
 
Cryptocurrency for Dummies
Cryptocurrency for DummiesCryptocurrency for Dummies
Cryptocurrency for Dummies
 
Blockchain - a basic overview
Blockchain - a basic overviewBlockchain - a basic overview
Blockchain - a basic overview
 
The Blockchain and JavaScript
The Blockchain and JavaScriptThe Blockchain and JavaScript
The Blockchain and JavaScript
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currency
 
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2
 
Understanding Bitcoin
Understanding BitcoinUnderstanding Bitcoin
Understanding Bitcoin
 
Bitcoin - An introduction to a decentralised and anonymous currency
Bitcoin - An introduction to a decentralised and anonymous currencyBitcoin - An introduction to a decentralised and anonymous currency
Bitcoin - An introduction to a decentralised and anonymous currency
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Introducing blockchain
Introducing blockchainIntroducing blockchain
Introducing blockchain
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Bitcoin Transactions Examples
Bitcoin Transactions ExamplesBitcoin Transactions Examples
Bitcoin Transactions Examples
 
Bitcoin
BitcoinBitcoin
Bitcoin
 

Viewers also liked

A copyright protection technology for 3 d printing models (john choi)
A copyright protection technology for 3 d printing models (john choi)A copyright protection technology for 3 d printing models (john choi)
A copyright protection technology for 3 d printing models (john choi)
MecklerMedia
 
Coinomia Elaborated Compensation Plan
Coinomia Elaborated Compensation PlanCoinomia Elaborated Compensation Plan
Coinomia Elaborated Compensation Plan
Coinomia
 
Tales from the crypto early stories of bitcoin and cryptocurrency inspired art
Tales from the crypto  early stories of bitcoin and cryptocurrency inspired artTales from the crypto  early stories of bitcoin and cryptocurrency inspired art
Tales from the crypto early stories of bitcoin and cryptocurrency inspired art
MecklerMedia
 

Viewers also liked (19)

Bitcoin Sharing session @ Stanford CEO
Bitcoin Sharing session @ Stanford CEOBitcoin Sharing session @ Stanford CEO
Bitcoin Sharing session @ Stanford CEO
 
Bitcoin and Blockchain for noobs
Bitcoin and Blockchain for noobsBitcoin and Blockchain for noobs
Bitcoin and Blockchain for noobs
 
CAP theorem by Ali Ghodsi
CAP theorem by Ali GhodsiCAP theorem by Ali Ghodsi
CAP theorem by Ali Ghodsi
 
Bitcoin for Noobs
Bitcoin for NoobsBitcoin for Noobs
Bitcoin for Noobs
 
2015 - Crypto 2.0 trends and projection
2015 - Crypto 2.0 trends and projection2015 - Crypto 2.0 trends and projection
2015 - Crypto 2.0 trends and projection
 
Intro to Crypto Economic dApp
Intro to Crypto Economic dAppIntro to Crypto Economic dApp
Intro to Crypto Economic dApp
 
Finance: An Autonomous future
Finance: An Autonomous futureFinance: An Autonomous future
Finance: An Autonomous future
 
From Bitcoin Hardware Wallets to Personal Privacy Devices
From Bitcoin Hardware Wallets to Personal Privacy DevicesFrom Bitcoin Hardware Wallets to Personal Privacy Devices
From Bitcoin Hardware Wallets to Personal Privacy Devices
 
A copyright protection technology for 3 d printing models (john choi)
A copyright protection technology for 3 d printing models (john choi)A copyright protection technology for 3 d printing models (john choi)
A copyright protection technology for 3 d printing models (john choi)
 
Cloud infrastructure of 3 d printing
Cloud infrastructure of 3 d printingCloud infrastructure of 3 d printing
Cloud infrastructure of 3 d printing
 
Coinomia Elaborated Compensation Plan
Coinomia Elaborated Compensation PlanCoinomia Elaborated Compensation Plan
Coinomia Elaborated Compensation Plan
 
Tales from the crypto early stories of bitcoin and cryptocurrency inspired art
Tales from the crypto  early stories of bitcoin and cryptocurrency inspired artTales from the crypto  early stories of bitcoin and cryptocurrency inspired art
Tales from the crypto early stories of bitcoin and cryptocurrency inspired art
 
Why bitcoin will change everything
Why bitcoin will change everythingWhy bitcoin will change everything
Why bitcoin will change everything
 
YOCoin Philippines Compensation Plan
YOCoin Philippines Compensation PlanYOCoin Philippines Compensation Plan
YOCoin Philippines Compensation Plan
 
Bitcoin: Repenser la monnaie (Bitcoin: rethinking money)
Bitcoin: Repenser la monnaie (Bitcoin: rethinking money)Bitcoin: Repenser la monnaie (Bitcoin: rethinking money)
Bitcoin: Repenser la monnaie (Bitcoin: rethinking money)
 
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
The Hardest Part of Microservices: Your Data - Christian Posta, Red HatThe Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
 
Cryptocurrency- Can Bitcoin Make It in Africa- An Analysis of the Legal Frame...
Cryptocurrency- Can Bitcoin Make It in Africa- An Analysis of the Legal Frame...Cryptocurrency- Can Bitcoin Make It in Africa- An Analysis of the Legal Frame...
Cryptocurrency- Can Bitcoin Make It in Africa- An Analysis of the Legal Frame...
 
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, GoogleBringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
 
State of Bitcoin and Blockchain 2016
State of Bitcoin and Blockchain 2016State of Bitcoin and Blockchain 2016
State of Bitcoin and Blockchain 2016
 

Similar to BitCoin Protocol

Similar to BitCoin Protocol (20)

Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmers
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin I.pptx
Bitcoin I.pptxBitcoin I.pptx
Bitcoin I.pptx
 
Bitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionBitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training Session
 
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
 
Tmc mastering bitcoins ppt
Tmc mastering bitcoins pptTmc mastering bitcoins ppt
Tmc mastering bitcoins ppt
 
Blockchain
BlockchainBlockchain
Blockchain
 
Intro to Blockchain Slides
Intro to Blockchain SlidesIntro to Blockchain Slides
Intro to Blockchain Slides
 
Block chain
Block chainBlock chain
Block chain
 
PSU CSE 541 Project Idea
PSU CSE 541 Project IdeaPSU CSE 541 Project Idea
PSU CSE 541 Project Idea
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
 
Blockchain (and Bitcoin)
Blockchain (and Bitcoin) Blockchain (and Bitcoin)
Blockchain (and Bitcoin)
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
 
BIT COIN ,MINING & ATM
BIT COIN ,MINING & ATMBIT COIN ,MINING & ATM
BIT COIN ,MINING & ATM
 
Bitcoin
BitcoinBitcoin
Bitcoin
 

More from Consulthinkspa

More from Consulthinkspa (17)

GDPR - Il Nuovo Regolamento Generale sulla Protezione dei Dati
GDPR - Il Nuovo Regolamento Generale sulla Protezione dei DatiGDPR - Il Nuovo Regolamento Generale sulla Protezione dei Dati
GDPR - Il Nuovo Regolamento Generale sulla Protezione dei Dati
 
Big Data Vs. Open Data
Big Data Vs.  Open Data Big Data Vs.  Open Data
Big Data Vs. Open Data
 
Data Science
Data ScienceData Science
Data Science
 
Hot trend 2017
Hot trend 2017Hot trend 2017
Hot trend 2017
 
Pensiero Analogico e Microservizi
Pensiero Analogico  e MicroserviziPensiero Analogico  e Microservizi
Pensiero Analogico e Microservizi
 
DevOps - Come diventare un buon DevOpper
DevOps -  Come diventare un buon DevOpperDevOps -  Come diventare un buon DevOpper
DevOps - Come diventare un buon DevOpper
 
Increasing Android app security for free - Roberto Gassirà, Roberto Piccirill...
Increasing Android app security for free - Roberto Gassirà, Roberto Piccirill...Increasing Android app security for free - Roberto Gassirà, Roberto Piccirill...
Increasing Android app security for free - Roberto Gassirà, Roberto Piccirill...
 
Consulthink Overview
Consulthink OverviewConsulthink Overview
Consulthink Overview
 
Scenari introduzione Application Service Governance in Azienda
Scenari introduzione Application Service Governance in AziendaScenari introduzione Application Service Governance in Azienda
Scenari introduzione Application Service Governance in Azienda
 
Droidcon it 2015: Android Lollipop for Enterprise
Droidcon it 2015: Android Lollipop for EnterpriseDroidcon it 2015: Android Lollipop for Enterprise
Droidcon it 2015: Android Lollipop for Enterprise
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
IPv6 - Breve panoramica tra mito e realtà
IPv6 - Breve panoramica tra mito e realtàIPv6 - Breve panoramica tra mito e realtà
IPv6 - Breve panoramica tra mito e realtà
 
Big data - stack tecnologico
Big data -  stack tecnologicoBig data -  stack tecnologico
Big data - stack tecnologico
 
Quality Software Development LifeCycle
Quality Software Development LifeCycleQuality Software Development LifeCycle
Quality Software Development LifeCycle
 
Consulthink @ GDG Meets U - L'Aquila2014 - Codelab: Android Security -Il ke...
Consulthink @ GDG Meets U -  L'Aquila2014  - Codelab: Android Security -Il ke...Consulthink @ GDG Meets U -  L'Aquila2014  - Codelab: Android Security -Il ke...
Consulthink @ GDG Meets U - L'Aquila2014 - Codelab: Android Security -Il ke...
 
Android Security - Key Management at GDG DevFest Rome 2013
Android Security - Key Management at GDG DevFest Rome 2013 Android Security - Key Management at GDG DevFest Rome 2013
Android Security - Key Management at GDG DevFest Rome 2013
 
Prevenzione degli attacchi informatici che coinvolgono dati sensibili aziendali
Prevenzione degli attacchi informatici che coinvolgono dati sensibili aziendaliPrevenzione degli attacchi informatici che coinvolgono dati sensibili aziendali
Prevenzione degli attacchi informatici che coinvolgono dati sensibili aziendali
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

BitCoin Protocol

  • 1. 1 Bitcoin A Digital Currency
  • 3. Bank’s role ● A financial institution ● Accepts deposits and lends money ● Centralized system ● Offers financial services ● Processes payments from two or more commercial parties ● Today deals with a lot of Electronic Payments
  • 4. What is Bitcoin? ● A digital currency (or aka cryptocurrency) ● Software-based payment system ● The payment process acts between (potentially) anonymous users ● Based on peer-to-peer network ● A lot of cryptography but nothing is encrypted :-) ● Without………..
  • 5. Who? Satoshi Nakamoto http://www.newsweek.com/2014/03/14/face-behind-bitcoin-247957.html
  • 6. Let’s make a payment Alice wants to give 1 BTC to Bob • Alice: • retrieves the Bob’s address • generates own Public/Private key • builds a message with: • Transaction of 1 BTC to Bob’s address • Transaction’s signature • Announces her public key for signature verification • broadcasts the message to the Bitcoin network
  • 7. Why Public/Private key? ● Bob has the Alice’s public key ● Only Alice knows the private key ● Bob verifies the transaction signature using the Alice’s public key ● Only Bob is authorized because has the private key ● Double-Spending problem?
  • 8. Solve Double-Spending Problem ● Transaction details are sent and forwarded to all Bitcoin nodes ● A Block-Chain contains all transaction done ● Each blocks into chains must be valid and must include a proof-of-work Network
  • 9. Bitcoin Address ● A Bitcoin-balance is associated to the Bitcoin address ● A Bitcoin Address is derived by a ECDSA Public Key by using hash functions 512 bit ECDSA Public Key with prefix SHA-256 of Public Key with prefix RIPEM1 60 of SHA-256 output Base58 Encoding (HASH + Checksu m) 1422cPZaPRiqeWL8njn87NjLwgZxxmZmKp Bitcoin Address
  • 10. Bitcoin transaction ● Composed by one/more Input and Output ● Input(s) is a reference to an output(s) in a different transaction ● Uses Scripting system (Forth-like - stack based) to verify signatures and addresses ● Transaction can include fees
  • 12. Bitcoin transaction is Signed ● The Transaction from B to C is signed with B’s private key ● The B’s public key is included in the transaction
  • 13. Block Chain ● A transaction databases shared by all nodes (like a ledger) ● Each block must contain a Proof-of-Work ● Contains a reference (hash) to the previous block ● Block chain avoids the double spending
  • 14. Transactions into block Merkle Tree
  • 15. Proof-of-Work ● To add a block to a Block Chain ● Corresponds at time of computation ● The time is spent computing hash function ● The Proof-of-Work is builded when the hash’s output has a specific property ● A block with a Proof-of-Work each 10 minutes about ● The difficulty is established by a target
  • 16. Miners ● The miners spends time to find a Proof-of-Work in order to receive a Bitcoin fee (now is 25 BTC) ● The reward reduces 50% every 4 years ● The mining process will end when 21 million bitcoins will be reached ● After that time the miners will earns imposing a transaction fee
  • 17. Wallet software ● Wallet software is used to generate address and make transaction
  • 18. ATM in the world

Editor's Notes

  1. 1)Medium of Exchange The main purpose of money is for it to be a medium of exchange so that it can be exchanged for goods and services between buyers and sellers when they trade. 2)Store of value Money can be saved and retrieved or used at a later time. This encourages people to save as money saved now can be used in the future. 3)Unit of Account Money is a unit of measure for the value of goods and services in an economy. The value/worth of different goods and services can be compared in relation to money. Transactions are recorded in monetary terms. 4)Standard for deferred payments Some goods can be payed for at a later date and this is called a deferred payment. An example of a deferred payment is a debt and a “standard of deferred payment” is a way of settling a debt. This means that the seller is able and willing to accept payment in the form of money in the future.