SlideShare a Scribd company logo
How does Bitcoin work?
Pavel Kravchenko
Lecture 2
Challenges for decentralized
electronic money creation
How to remove the need of central organization
and trust to one party?
How to ensure honest voting process in
anonymous, trustless, decentralized system?
How to prevent double-spending?
How to encourage users to join the system?
Now we will pass 7 steps towards
imaginary cryptocurrency creation, during
which we will cover possible attacks and
their preventions
Step 1. The simplest e-money
Digital receipt signed by the private key of the user
Step 2. How to distinguish copy from
original?
To distinguish copies of the same cheque we
introduce unique receipt identifier
Step 3. Verification of the incoming cheque
Everybody can verify unique identifier in their own copy of the database (blockchain).
Step 4. How to verify that
incoming cheque was not spent
before?
You have to ask other participants – each of them provides
a vote
Most important questions
How many participants have to vote to accept or reject
particular transaction?
How can you define “participant”? Is it a person or a
piece of code?
How many participants take part in the voting process?
Do they know and trust each other? Probably not.
How to ensure honest voting process in such
conditions?
Step 5. How to prevent buying
votes
To vote you have to present proof-of-work
Only the first vote is counted
There is a reward for being the first
How does “hard task” should look
like?
Everybody has a chance to win
It should be able to prevent fraud
Everybody can verify results
The result of one participant cannot be stolen by another
It should encourage participants to work more
The closest analogue of such a task is participation in the
lottery – everybody has a chance to win, but those who
buy more will more likely win.
Mining in Bitcoin it is just a process of
permanent checking answers for certain
mathematical equation. It is not
connected to transaction verification – it
is just needed to prevent votes “buying”.
Step 6. Everybody competes to win
Probability of being the first is equal
to percentage of computational
power that you have
You can control the network if you
have 51%+ computational
resources
System is trustworthy until honest participants control 51%
of power
Doesn't matter who out of honest participants will win
The fastest supercomputer in the world
cannot even control 0.01% of power
needed to control the system
It looks like brain-ring game – everybody
wants to submit the answer (in our case
after solving “hard task”) - but only the
first gets the right to tell the answer
Step 7. How to define who was the first?
1. There are delays and attacks in the network
2. If fork occurred, both chains are saved
3. Each block (set of confirmed transactions) contains pointer on the
previous one
4. Work continues in the longest chain
5. Transaction is fully confirmed if it is in the longest chain and there
are 5 confirmed blocks after
Drawbacks of Bitcoin
Low performance (3-7 transaction per second)
A big amount of data to store (currently ~30GB)
Traceability of transactions (database is public)
Electricity consumption by miners (~$0.5M / day)
Questions?
kravchenkopo@gmail.com
ideateam_macuser
ua.linkedin.com/in/pkravchenko/

More Related Content

PPTX
Blockchain for business
PPT
anonymity_KYC_short
PDF
Tokenization
PDF
Tokenization v2
PPTX
PPTX
Session for InfoSecGirls - Block chain for information security
Blockchain for business
anonymity_KYC_short
Tokenization
Tokenization v2
Session for InfoSecGirls - Block chain for information security

What's hot (20)

PPTX
Benefits of Using the Bitcoin Exchange
PPTX
All about Cryptocurrency
PPTX
Crypto Presentation
PDF
How to explain bitcoin to your mother
PPTX
Future of cryptocurrency ppt.
PDF
Cryptocurrency industry trends 2015
PDF
“Emerging Investment Avenues: A new path for Financial Investors”
PPTX
How-to Invest In Cryptocurrency In 5 Easy Steps
PPTX
Cryptocurrency project
PPT
Vertcoin stealth addresses (sx)
PPTX
Cryptocurrency Revenue Model 2020
PPTX
4 Recommendations for investing in cryptocurrency
PPTX
Cryptocurrency and taxation
PDF
How Does Bitcoin Work? Under the Hood for Dummies | ProvenCrypto
PDF
Bitcoin: The new gold rush?
PDF
Blockchain, smart contracts and use cases for the Legal Hackers
PPTX
Block chain
PPTX
Bitcoin: Confused About Bitcoin?
PPTX
Bit coin cryptocurrency
PDF
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Benefits of Using the Bitcoin Exchange
All about Cryptocurrency
Crypto Presentation
How to explain bitcoin to your mother
Future of cryptocurrency ppt.
Cryptocurrency industry trends 2015
“Emerging Investment Avenues: A new path for Financial Investors”
How-to Invest In Cryptocurrency In 5 Easy Steps
Cryptocurrency project
Vertcoin stealth addresses (sx)
Cryptocurrency Revenue Model 2020
4 Recommendations for investing in cryptocurrency
Cryptocurrency and taxation
How Does Bitcoin Work? Under the Hood for Dummies | ProvenCrypto
Bitcoin: The new gold rush?
Blockchain, smart contracts and use cases for the Legal Hackers
Block chain
Bitcoin: Confused About Bitcoin?
Bit coin cryptocurrency
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Ad

Viewers also liked (20)

PDF
How do bitcoin transactions work?
PDF
What is Bitcoin?
PPT
Анонимность в Биткоин. Часть 1. Лекция 9
PPT
Вступление в Биткоин. Лекция 1.
PPT
Как устроен Blockchain. Лекция 4
PPT
Введение в смарт контракты. Лекция 8
PPT
Как работает майнинг. Лекция 5
PPT
Как работают транзакции. Лекция 3
PPT
Как работает Multisignature. Лекция 7
PPT
Как устроена криптовалюта. Лекция 2
PPT
Ledger-based системы. Альтернатива Bitcoin?
PDF
Блокчейн: Разрыв Шаблона v.3
PDF
Виртуализация сетевой транспортной инфраструктуры
PDF
律師司法官心智圖關鍵解題
PDF
Дмитрий Угрюмов. Анонимность в Интернете: средства, методы, уязвимости и все-...
PPT
Что нужно знать специалисту по ИБ
PDF
Bitcoin 101: The Currency, The Network, The Community
PDF
An Underground education
PPTX
The Glass House: Anonymity Vs. Transparency on the Internet
PDF
OPSEC for hackers (bahasa indonesia)
How do bitcoin transactions work?
What is Bitcoin?
Анонимность в Биткоин. Часть 1. Лекция 9
Вступление в Биткоин. Лекция 1.
Как устроен Blockchain. Лекция 4
Введение в смарт контракты. Лекция 8
Как работает майнинг. Лекция 5
Как работают транзакции. Лекция 3
Как работает Multisignature. Лекция 7
Как устроена криптовалюта. Лекция 2
Ledger-based системы. Альтернатива Bitcoin?
Блокчейн: Разрыв Шаблона v.3
Виртуализация сетевой транспортной инфраструктуры
律師司法官心智圖關鍵解題
Дмитрий Угрюмов. Анонимность в Интернете: средства, методы, уязвимости и все-...
Что нужно знать специалисту по ИБ
Bitcoin 101: The Currency, The Network, The Community
An Underground education
The Glass House: Anonymity Vs. Transparency on the Internet
OPSEC for hackers (bahasa indonesia)
Ad

Similar to How does Bitcoin work? (20)

PDF
Crypto currency secrets
PDF
Cryptocurrency
PDF
190221 masterclass blockchain
PPTX
Behind the scenes of bitcoin protocol
PDF
Disruptive technologies - Session 2 - Blockchain smart_contracts
PDF
Cryptocurrency secrets
PDF
What is cryptocurrency everything you need to know - ultimate guide
PDF
How Blockchain solves the Byzantine Generals Problem (2).pdf
PDF
How Blockchain solves the Byzantine Generals Problem.pdf
PDF
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
DOCX
Primary postIt is well known that the key innovation of crypt.docx
DOCX
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
PDF
Bitcoin whitepaper
PDF
Bitcoin Whitepaper
PDF
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
PDF
bitcoin.pdf
PDF
Introduction for Bitcoin. Original Pater
PDF
bitcoin.pdf
PDF
Bitcoin White Paper
PDF
bitcoin.pdf
Crypto currency secrets
Cryptocurrency
190221 masterclass blockchain
Behind the scenes of bitcoin protocol
Disruptive technologies - Session 2 - Blockchain smart_contracts
Cryptocurrency secrets
What is cryptocurrency everything you need to know - ultimate guide
How Blockchain solves the Byzantine Generals Problem (2).pdf
How Blockchain solves the Byzantine Generals Problem.pdf
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Primary postIt is well known that the key innovation of crypt.docx
Bitcoin A Peer-to-Peer Electronic Cash SystemSatoshi Naka.docx
Bitcoin whitepaper
Bitcoin Whitepaper
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
bitcoin.pdf
Introduction for Bitcoin. Original Pater
bitcoin.pdf
Bitcoin White Paper
bitcoin.pdf

Recently uploaded (20)

PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
t_and_OpenAI_Combined_two_pressentations
DOC
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Funds Management Learning Material for Beg
PPTX
Digital Literacy And Online Safety on internet
PPTX
Introduction to cybersecurity and digital nettiquette
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
DOCX
Unit-3 cyber security network security of internet system
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PPTX
Internet___Basics___Styled_ presentation
PDF
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Mathew Digital SEO Checklist Guidlines 2025
t_and_OpenAI_Combined_two_pressentations
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Introduction to the IoT system, how the IoT system works
Funds Management Learning Material for Beg
Digital Literacy And Online Safety on internet
Introduction to cybersecurity and digital nettiquette
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Power Point - Lesson 3_2.pptx grad school presentation
Unit-3 cyber security network security of internet system
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
Internet___Basics___Styled_ presentation
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
Module 1 - Cyber Law and Ethics 101.pptx

How does Bitcoin work?

  • 1. How does Bitcoin work? Pavel Kravchenko Lecture 2
  • 2. Challenges for decentralized electronic money creation How to remove the need of central organization and trust to one party? How to ensure honest voting process in anonymous, trustless, decentralized system? How to prevent double-spending? How to encourage users to join the system?
  • 3. Now we will pass 7 steps towards imaginary cryptocurrency creation, during which we will cover possible attacks and their preventions
  • 4. Step 1. The simplest e-money Digital receipt signed by the private key of the user
  • 5. Step 2. How to distinguish copy from original? To distinguish copies of the same cheque we introduce unique receipt identifier
  • 6. Step 3. Verification of the incoming cheque Everybody can verify unique identifier in their own copy of the database (blockchain).
  • 7. Step 4. How to verify that incoming cheque was not spent before? You have to ask other participants – each of them provides a vote
  • 8. Most important questions How many participants have to vote to accept or reject particular transaction? How can you define “participant”? Is it a person or a piece of code? How many participants take part in the voting process? Do they know and trust each other? Probably not. How to ensure honest voting process in such conditions?
  • 9. Step 5. How to prevent buying votes To vote you have to present proof-of-work Only the first vote is counted There is a reward for being the first
  • 10. How does “hard task” should look like? Everybody has a chance to win It should be able to prevent fraud Everybody can verify results The result of one participant cannot be stolen by another It should encourage participants to work more The closest analogue of such a task is participation in the lottery – everybody has a chance to win, but those who buy more will more likely win.
  • 11. Mining in Bitcoin it is just a process of permanent checking answers for certain mathematical equation. It is not connected to transaction verification – it is just needed to prevent votes “buying”.
  • 12. Step 6. Everybody competes to win Probability of being the first is equal to percentage of computational power that you have You can control the network if you have 51%+ computational resources System is trustworthy until honest participants control 51% of power Doesn't matter who out of honest participants will win
  • 13. The fastest supercomputer in the world cannot even control 0.01% of power needed to control the system
  • 14. It looks like brain-ring game – everybody wants to submit the answer (in our case after solving “hard task”) - but only the first gets the right to tell the answer
  • 15. Step 7. How to define who was the first? 1. There are delays and attacks in the network 2. If fork occurred, both chains are saved 3. Each block (set of confirmed transactions) contains pointer on the previous one 4. Work continues in the longest chain 5. Transaction is fully confirmed if it is in the longest chain and there are 5 confirmed blocks after
  • 16. Drawbacks of Bitcoin Low performance (3-7 transaction per second) A big amount of data to store (currently ~30GB) Traceability of transactions (database is public) Electricity consumption by miners (~$0.5M / day)