SlideShare a Scribd company logo
1 of 56
Scaling Bitcoin to a Billion Users
22 July 2017
Peter Rizun
• Current users spread the bitcoin
virus to new users
• Rate of infection is proportional
to how many users there are
Bitcoin grows exponentially like a virus
𝑑𝑁
𝑑𝑡
∝ 𝑁 --> 𝑁 = 𝑁0 𝑒 𝑡/𝜏
Recipe for exponential growth
Satoshi put a lid on growth
1 MB 1 MB 1 MB 1 MB 1 MB
Satoshi put a lid on growth
1 MB 1 MB 1 MB 1 MB 1 MB
Satoshi put a lid on growth
1 MB 1 MB 1 MB 1 MB 1 MB
Satoshi put a lid on growth
1 MB 1 MB 1 MB 1 MB 1 MB
Satoshi put a lid on growth
1 MB 1 MB 1 MB 1 MB 1 MB
The lid affects Bitcoin’s properties
1 MB 1 MB 1 MB 1 MB 1 MB
$3!!
It is time to remove the lid
1 MB 1 MB 1 MB 1 MB 1 MB
1 billion users making 2 transactions
per day requires 8 GB blocks
Some are hesitant to remove the 1MB limit
• Worried that with continued exponential growth that Bitcoin will
not retain its properties as peer-to-peer electronic cash
• Worry is mostly due to not appreciating the cleverness of
Bitcoin’s intended scaling mechanism: simplified payment
verification (SPV)
How does SPV work?
To appreciate how SPV facilitates massive scaling, we
need to understand three important aspects of Bitcoin’s
design.
1. How do miners build the proof-of-work chain?
2. How does a bitcoin owner transfer his coin?
3. What is the relationship between coin transfers
(transactions) and the proof-of-work chain built by the
miners?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
80 bytes
How do miners build the proof-of-work
chain?
80 bytes
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
Transactions
No double spends
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
How do miners build the proof-of-work
chain?
Are there scaling concerns with respect
to following the proof-of-work chain?
• The transactions sit outside the proof-of-work chain
• No need to download all the world’s transaction to follow along
• The proof-of-work chain grows by 80 bytes per block (~10 min)
• Memory: 80 bytes x 144 blocks per day x 365 days per year ~= 4 MB
per year
• Bandwidth: 80 bytes x 8 bits / byte / 600 seconds = 1 bit / second
• The SMS (text) message size limit is 128 bytes
• Your (dumb) phone could follow the longest proof-of-work chain
receiving only a single text message every 10 minutes.
• 4 billion people use SMS today
NO!
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
How does a bitcoin owner transfer her coin?
Are there scaling concerns with respect
to making transactions?
• Average transaction size is 500 bytes
• Receiving a transactions is like receiving 4 SMS messages
• All 4 billion SMS users could easily send or receive a few transactions
per day with existing technology
NO!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!Transactions
No double spends
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!Transactions
No double spends
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
What is the relationship between coin
transfers (transactions) and the proof-of-work
chain built by the miners?
• If Alice can give her signed
transaction to Bob, and Bob can
pass it on to Carol, why do we
need miners?
• To prevent them from spending
the same coin twice!
• The transactions are organized
in a block in a brilliant way
• The miner can provide proof to
Bob that his transaction was
included in a compact way!
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
16 4 128
32 5 160
… … …
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
16 4 128
32 5 160
… … …
1,000 10 320
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
16 4 128
32 5 160
… … …
1,000 10 320
1,000,000 20 640
Are there scaling concerns with respect
to proving inclusion in a block?
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
16 4 128
32 5 160
… … …
1,000 10 320
1,000,000 20 640
1,000,000,000 30 960
Are there scaling concerns with respect
to proving inclusion in a block? NO!
Transactions per
block
Hashes required to construct
path to root hash
Number of bytes
4 2 64
8 3 96
16 4 128
32 5 160
… … …
1,000 10 320
1,000,000 20 640
1,000,000,000 30 960
Scaling with SPV
• Is it easy to track the proof-of-work
chain?
• Is it easy to send and receive
transactions?
• Is it easy to prove that a transaction
was confirmed in a block?
✓
✓
✓
Invalid-block versus Re-org attacks
If Alice is in cahoots with a large portion of the network hash power, she may
be able to defraud Bob.
Features Invalid-block attack Re-org attack
Leaves no proof of fraud? ✘ ✓
Miner keeps coinbase reward? ✘ ✓
Works on both SPV and full nodes? ✘ ✓
A wallet only needs to be as strong as Bitcoin’s weakest link. SPV achieves that.
Thank you!
Peter Rizun
peter.rizun@gmail.com
Scaling Bitcoin to a Billion Users

More Related Content

Similar to Scaling Bitcoin to a Billion Users

Amber & SnapChat - Presentation
Amber & SnapChat - PresentationAmber & SnapChat - Presentation
Amber & SnapChat - PresentationAleksandar Svetski
 
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!RustyQRussell
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to BlockchainArun Sharma
 
Bitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBenjamin Chodroff
 
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.
 
Bitcoin history - Blockchaine e Dintorini Meetup Bari
Bitcoin history - Blockchaine e Dintorini Meetup BariBitcoin history - Blockchaine e Dintorini Meetup Bari
Bitcoin history - Blockchaine e Dintorini Meetup BariGiancarlo Valente
 
What is Blockchain and why should we care?
What is Blockchain and why should we care?What is Blockchain and why should we care?
What is Blockchain and why should we care?Paul Johnston
 
Stanford CS 007-10: Personal Finance for Engineers / Additional Topics
Stanford CS 007-10: Personal Finance for Engineers / Additional TopicsStanford CS 007-10: Personal Finance for Engineers / Additional Topics
Stanford CS 007-10: Personal Finance for Engineers / Additional TopicsAdam Nash
 
Cryptocurrency for Dummies
Cryptocurrency for DummiesCryptocurrency for Dummies
Cryptocurrency for DummiesMiguel Duarte
 
Basics of Bitcoin & Mining
Basics of Bitcoin & MiningBasics of Bitcoin & Mining
Basics of Bitcoin & MiningAkhilesh Arora
 
Bitcoin - YXE Barcamp 2012
Bitcoin - YXE Barcamp 2012Bitcoin - YXE Barcamp 2012
Bitcoin - YXE Barcamp 2012Colin Bendell
 
ORDINALS – MEETUP #9 – 2023-02-09
ORDINALS – MEETUP #9 – 2023-02-09ORDINALS – MEETUP #9 – 2023-02-09
ORDINALS – MEETUP #9 – 2023-02-09RoundRockBitcoiners
 
Bitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsBitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsDallas Kennedy
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopAndrew Morris
 
Introducing the Hedera Consensus service
Introducing the Hedera Consensus serviceIntroducing the Hedera Consensus service
Introducing the Hedera Consensus serviceHedera Hashgraph
 
Open local data: challenges and opportunities
Open local data: challenges and opportunitiesOpen local data: challenges and opportunities
Open local data: challenges and opportunitiesChris Taggart
 
Introduction to Blockchains
Introduction to BlockchainsIntroduction to Blockchains
Introduction to BlockchainsRamesh Nair
 
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
 

Similar to Scaling Bitcoin to a Billion Users (20)

Amber & SnapChat - Presentation
Amber & SnapChat - PresentationAmber & SnapChat - Presentation
Amber & SnapChat - Presentation
 
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to Blockchain
 
Bitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in China
 
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
 
Bitcoin history - Blockchaine e Dintorini Meetup Bari
Bitcoin history - Blockchaine e Dintorini Meetup BariBitcoin history - Blockchaine e Dintorini Meetup Bari
Bitcoin history - Blockchaine e Dintorini Meetup Bari
 
What is Blockchain and why should we care?
What is Blockchain and why should we care?What is Blockchain and why should we care?
What is Blockchain and why should we care?
 
Stanford CS 007-10: Personal Finance for Engineers / Additional Topics
Stanford CS 007-10: Personal Finance for Engineers / Additional TopicsStanford CS 007-10: Personal Finance for Engineers / Additional Topics
Stanford CS 007-10: Personal Finance for Engineers / Additional Topics
 
Cryptocurrency for Dummies
Cryptocurrency for DummiesCryptocurrency for Dummies
Cryptocurrency for Dummies
 
CryptoCurrency for Dummies
CryptoCurrency for Dummies CryptoCurrency for Dummies
CryptoCurrency for Dummies
 
Basics of Bitcoin & Mining
Basics of Bitcoin & MiningBasics of Bitcoin & Mining
Basics of Bitcoin & Mining
 
Bitcoin 00
Bitcoin 00Bitcoin 00
Bitcoin 00
 
Bitcoin - YXE Barcamp 2012
Bitcoin - YXE Barcamp 2012Bitcoin - YXE Barcamp 2012
Bitcoin - YXE Barcamp 2012
 
ORDINALS – MEETUP #9 – 2023-02-09
ORDINALS – MEETUP #9 – 2023-02-09ORDINALS – MEETUP #9 – 2023-02-09
ORDINALS – MEETUP #9 – 2023-02-09
 
Bitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsBitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block Chains
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
 
Introducing the Hedera Consensus service
Introducing the Hedera Consensus serviceIntroducing the Hedera Consensus service
Introducing the Hedera Consensus service
 
Open local data: challenges and opportunities
Open local data: challenges and opportunitiesOpen local data: challenges and opportunities
Open local data: challenges and opportunities
 
Introduction to Blockchains
Introduction to BlockchainsIntroduction to Blockchains
Introduction to Blockchains
 
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
 

Recently uploaded

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
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
#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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

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
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
#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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
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...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Scaling Bitcoin to a Billion Users

  • 1. Scaling Bitcoin to a Billion Users 22 July 2017 Peter Rizun
  • 2. • Current users spread the bitcoin virus to new users • Rate of infection is proportional to how many users there are Bitcoin grows exponentially like a virus 𝑑𝑁 𝑑𝑡 ∝ 𝑁 --> 𝑁 = 𝑁0 𝑒 𝑡/𝜏 Recipe for exponential growth
  • 3. Satoshi put a lid on growth 1 MB 1 MB 1 MB 1 MB 1 MB
  • 4. Satoshi put a lid on growth 1 MB 1 MB 1 MB 1 MB 1 MB
  • 5. Satoshi put a lid on growth 1 MB 1 MB 1 MB 1 MB 1 MB
  • 6. Satoshi put a lid on growth 1 MB 1 MB 1 MB 1 MB 1 MB
  • 7. Satoshi put a lid on growth 1 MB 1 MB 1 MB 1 MB 1 MB
  • 8. The lid affects Bitcoin’s properties 1 MB 1 MB 1 MB 1 MB 1 MB $3!!
  • 9. It is time to remove the lid 1 MB 1 MB 1 MB 1 MB 1 MB 1 billion users making 2 transactions per day requires 8 GB blocks
  • 10. Some are hesitant to remove the 1MB limit • Worried that with continued exponential growth that Bitcoin will not retain its properties as peer-to-peer electronic cash • Worry is mostly due to not appreciating the cleverness of Bitcoin’s intended scaling mechanism: simplified payment verification (SPV)
  • 11. How does SPV work? To appreciate how SPV facilitates massive scaling, we need to understand three important aspects of Bitcoin’s design. 1. How do miners build the proof-of-work chain? 2. How does a bitcoin owner transfer his coin? 3. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners?
  • 12. How do miners build the proof-of-work chain?
  • 13. How do miners build the proof-of-work chain? 80 bytes
  • 14. How do miners build the proof-of-work chain? 80 bytes
  • 15. How do miners build the proof-of-work chain?
  • 16. How do miners build the proof-of-work chain?
  • 17. How do miners build the proof-of-work chain?
  • 18. How do miners build the proof-of-work chain? Transactions No double spends
  • 19. How do miners build the proof-of-work chain?
  • 20. How do miners build the proof-of-work chain?
  • 21. How do miners build the proof-of-work chain?
  • 22. How do miners build the proof-of-work chain?
  • 23. How do miners build the proof-of-work chain?
  • 24. How do miners build the proof-of-work chain?
  • 25. Are there scaling concerns with respect to following the proof-of-work chain? • The transactions sit outside the proof-of-work chain • No need to download all the world’s transaction to follow along • The proof-of-work chain grows by 80 bytes per block (~10 min) • Memory: 80 bytes x 144 blocks per day x 365 days per year ~= 4 MB per year • Bandwidth: 80 bytes x 8 bits / byte / 600 seconds = 1 bit / second • The SMS (text) message size limit is 128 bytes • Your (dumb) phone could follow the longest proof-of-work chain receiving only a single text message every 10 minutes. • 4 billion people use SMS today NO!
  • 26. How does a bitcoin owner transfer her coin?
  • 27. How does a bitcoin owner transfer her coin?
  • 28. How does a bitcoin owner transfer her coin?
  • 29. How does a bitcoin owner transfer her coin?
  • 30. How does a bitcoin owner transfer her coin?
  • 31. How does a bitcoin owner transfer her coin?
  • 32. How does a bitcoin owner transfer her coin?
  • 33. How does a bitcoin owner transfer her coin?
  • 34. Are there scaling concerns with respect to making transactions? • Average transaction size is 500 bytes • Receiving a transactions is like receiving 4 SMS messages • All 4 billion SMS users could easily send or receive a few transactions per day with existing technology NO!
  • 35. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!Transactions No double spends
  • 36. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!Transactions No double spends
  • 37. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 38. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 39. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 40. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 41. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 42. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 43. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 44. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 45. What is the relationship between coin transfers (transactions) and the proof-of-work chain built by the miners? • If Alice can give her signed transaction to Bob, and Bob can pass it on to Carol, why do we need miners? • To prevent them from spending the same coin twice! • The transactions are organized in a block in a brilliant way • The miner can provide proof to Bob that his transaction was included in a compact way!
  • 46. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64
  • 47. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96
  • 48. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96 16 4 128 32 5 160 … … …
  • 49. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96 16 4 128 32 5 160 … … … 1,000 10 320
  • 50. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96 16 4 128 32 5 160 … … … 1,000 10 320 1,000,000 20 640
  • 51. Are there scaling concerns with respect to proving inclusion in a block? Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96 16 4 128 32 5 160 … … … 1,000 10 320 1,000,000 20 640 1,000,000,000 30 960
  • 52. Are there scaling concerns with respect to proving inclusion in a block? NO! Transactions per block Hashes required to construct path to root hash Number of bytes 4 2 64 8 3 96 16 4 128 32 5 160 … … … 1,000 10 320 1,000,000 20 640 1,000,000,000 30 960
  • 53. Scaling with SPV • Is it easy to track the proof-of-work chain? • Is it easy to send and receive transactions? • Is it easy to prove that a transaction was confirmed in a block? ✓ ✓ ✓
  • 54. Invalid-block versus Re-org attacks If Alice is in cahoots with a large portion of the network hash power, she may be able to defraud Bob. Features Invalid-block attack Re-org attack Leaves no proof of fraud? ✘ ✓ Miner keeps coinbase reward? ✘ ✓ Works on both SPV and full nodes? ✘ ✓ A wallet only needs to be as strong as Bitcoin’s weakest link. SPV achieves that.

Editor's Notes

  1. Good afternoon everyone. I’ll start my talk with an anecdote: