SlideShare une entreprise Scribd logo
1  sur  18
Télécharger pour lire hors ligne
A Wild Velvet Fork Appears!
Inclusive Blockchain Protocol Changes in
Practice
A. Zamyatin, N. Stifter,
A. Judmayer, P. Schindler,
E. Weippl and W. J. Knottenbelt
5th Workshop on Bitcoin and Blockchain Research
Financial Cryptography and Data Security 2018
HP
Lv ???Velvet Fork
HP
Lv 511.653Bitcoin
Motivation
• Ongoing debate on consensus changes
in permissionless blockchains
• Velvet fork concept recently introduced
• [Kiayias et al.,’17]
• Do Velvet forks exist in practice?
• Existing definition of protocol update
mechanisms don’t fully capture the
concept of a Velvet fork
• [Bonneau et al.,’15]
• [Buterin,‘17]
• [Chepurnoy et al.,‘17]
• [Giechaskiel et al.,’16] https://imgs.xkcd.com/comics/standards.png
Soft vs. Hard Forks
• Hard fork
• Descriptor for changes incurring a permanent split of the blockchain
• However:
No majority  No chain split if (assuming econom. rational actors)
• Soft Fork
• Some level of compatibility preserved towards clients adhering to previous
rules
• However
If majority of consensus participants is not upgraded  Permanent split
Soft vs. Hard Forks
• Hard fork
• Descriptor for changes incurring a permanent split of the blockchain
• However:
No majority  No chain split (assuming econom. rational actors)
• E.g., a failed 2Mb blocks fork: upgraded miners consider old rules valid and follow the
longer „legacy“ chain. New blocks continously discarded by legacy miners.
• Soft Fork
• Some level of compatibility preserved towards clients adhering to previous rules
• However:
If majority of consensus participants is not upgraded  Permanent split
Notation
• Pre-agreed set of protocol rules 𝑷𝑷
• Validity set (𝑽𝑽)
• Set of all blocks valid under rules 𝑷𝑷
• Block 𝒃𝒃 is valid under 𝑷𝑷 iff 𝒃𝒃 ∈ 𝑽𝑽
• Question: how does a protocol change 𝑷𝑷 → 𝑷𝑷𝑷 affect
consensus?
• Changes to validity set denoted as 𝑵𝑵
Mechanisms for Consensus Rule Changes
Velvet Forks
• Rules applied conditionally
• No majority agreement required
• Never causes a permanent chain split
• Except if conflicting rules introduced by legacy miners
Velvet Forks in the Wild
• P2Pool
• Subchains and Weak Blocks
• Merged Mining
• Overlay Protocols and Colored Coins
P2Pool
• Decentralized
Mining pool
• Weak/Near blocks
used as pool
„shares“
• Additional structure:
Sharechain
A. Zamyatin, „Merged Mining: Analysis of Effects and Implications“,
MSc Thesis, Vienna University of Technology, 2017
Security Implications
• Blocks may no longer have the same (economic) value to
upgraded (velvet) and legacy miners.
• Possible effects on double spending and selfish mining
• [Carlsten et al.,‘16] – Petty compliant miners and better timing of
selfish mining attacks in a block reward free model
Security Implications
• Blocks may no longer have the same (economic) value to upgraded
(velvet) and legacy miners.
• Possible effects on double spending and selfish mining
• [Carlsten et al.,‘16] – Petty compliant miners and better timing of selfish
mining attacks in a block reward free model
• Insidious Soft Fork
1) Start as velvet fork
2) Gain adoption
3) Discard legacy blocks / conflicting rules (soft or hard fork)
4) ???
5) Profit?
Outlook
References
• A. Kiayias, A. Miller, and D. Zindros. Non-interactive proofs of proof-of-work. Cryptology
ePrint Archive, Report 2017/963, 2017
• J. Bonneau, A. Miller, J. Clark, A. Narayanan, J. A. Kroll, and E. W. Felten. Sok: Research
perspectives and challenges for bitcoin and cryptocurrencies. In IEEE Symposium on
Security and Privacy, 2015.
• A. Chepurnoy, T. Duong, L. Fan, and H.-S. Zhou. Twinscoin: A cryptocurrency via proof-of-
work and proof-of-stake. http://eprint.iacr.org/2017/232, 2017
• V. Buterin. Hard forks, soft forks, defaults and coercion.
http://vitalik.ca/general/2017/03/14/forks and markets.html, 2017.
• I. Giechaskiel, C. Cremers, and K. B. Rasmussen. On bitcoin security in the presence of
broken cryptographic primitives. In European Symposium on Research in Computer
Security (ESORICS), September 2016
• M. Carlsten, H. Kalodner, S. M. Weinberg, and A. Narayanan. On the instability of bitcoin
without the block reward. In Proceedings of the 2016 ACM SIGSAC Conference on
Computer and Communications Security, pages 154–167. ACM, 2016.
• I. Eyal, A. E. Gencer, E. G. Sirer, and R. van Renesse. Bitcoin-ng: A scalable blockchain
protocol. In 13th USENIX Security Symposium on Networked Systems Design and
Implementation (NSDI’16). USENIX Association, Mar 2016.
• A. E. Gencer, R. van Renesse, and E. G. Sirer. Short paper: Service-oriented sharding for
blockchains. Financial Cryptography and Data Security 2017, 2017.
• J. Lau. [bitcoin-dev] extension block softfork proposal.
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-January/013490.html, 2017.
• C. Jeffrey, J. Poon, F. Indutny, and S. Pair. Extension blocks (draft).
https://github.com/tothemoon-org/extension-blocks/blob/master/spec.md, 2017.
• Bissias, George, and Brian Neil Levine. "Bobtail: A Proof-of-Work Target that Minimizes
Blockchain Mining Variance (Draft)." arXiv preprint arXiv:1709.08750 (2017).
• Y. Sompolinsky and A. Zohar. Secure high-rate transaction processing in bitcoin. In Financial
Cryptography and Data Security, pages 507–527. Springer, 2015
A Wild Velvet Fork Appears!
Inclusive Blockchain Protocol Changes in Practice
A. Zamyatin, N. Stifter, A. Judmayer, P. Schindler, E. Weippl and
W. J. Knottenbelt
a.zamyatin@imperial.ac.uk
nstifter@sba-research.org
5th Workshop on Bitcoin and Blockchain Research
Financial Cryptography and Data Security 2018

Contenu connexe

Similaire à A Wild Velvet Fork Appears! Inclusive Blockchain Protocol Changes in Practice @ FC'18

Blockchain: Background and Data61 Research Overview
Blockchain: Background and Data61 Research OverviewBlockchain: Background and Data61 Research Overview
Blockchain: Background and Data61 Research OverviewIngo Weber
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashirImran Bashir
 
Blockchain part 2
Blockchain part 2Blockchain part 2
Blockchain part 2Sanjay Basu
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchainKrzysztof Bury
 
different consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptxdifferent consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptxmeena466141
 
Bitcoin Status Report - On-Chain Scaling Aug 2016
Bitcoin Status Report - On-Chain Scaling Aug 2016Bitcoin Status Report - On-Chain Scaling Aug 2016
Bitcoin Status Report - On-Chain Scaling Aug 2016Jeff Garzik
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of TrustMarco Segato
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...I MT
 
Blockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseBlockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseJean-Marc Seigneur
 
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCZeyad T. Al Mudhaf
 
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...Florian Blum
 
Blockchain technology-presentation
Blockchain technology-presentationBlockchain technology-presentation
Blockchain technology-presentationKailashChandra33
 
190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference190603 Value of Bitcoin Conference
190603 Value of Bitcoin ConferenceMichel Rauchs
 
Blockchain seminar
Blockchain seminarBlockchain seminar
Blockchain seminarAmiyabablu
 
Blockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDBlockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDOECD Governance
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...AlAtfat
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...AlAtfat
 
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...Ingo Weber
 
Blockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v engBlockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v engDavid Vangulick
 

Similaire à A Wild Velvet Fork Appears! Inclusive Blockchain Protocol Changes in Practice @ FC'18 (20)

Blockchain: Background and Data61 Research Overview
Blockchain: Background and Data61 Research OverviewBlockchain: Background and Data61 Research Overview
Blockchain: Background and Data61 Research Overview
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
Blockchain part 2
Blockchain part 2Blockchain part 2
Blockchain part 2
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
different consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptxdifferent consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptx
 
Bitcoin Status Report - On-Chain Scaling Aug 2016
Bitcoin Status Report - On-Chain Scaling Aug 2016Bitcoin Status Report - On-Chain Scaling Aug 2016
Bitcoin Status Report - On-Chain Scaling Aug 2016
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...
 
Blockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseBlockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction Course
 
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCC
 
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...
Towards Blockchain Tactics: Building Hybrid Decentralized Software Architectu...
 
Blockchain technology-presentation
Blockchain technology-presentationBlockchain technology-presentation
Blockchain technology-presentation
 
190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference
 
Blockchain seminar
Blockchain seminarBlockchain seminar
Blockchain seminar
 
Blockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDBlockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECD
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
 
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...
Blockchains and Smart Contracts: Architecture Design and Model-Driven Develop...
 
Bitcoin(8-15).pptx
Bitcoin(8-15).pptxBitcoin(8-15).pptx
Bitcoin(8-15).pptx
 
Blockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v engBlockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v eng
 

Dernier

Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyDrAnita Sharma
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 

Dernier (20)

Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomology
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 

A Wild Velvet Fork Appears! Inclusive Blockchain Protocol Changes in Practice @ FC'18

  • 1. A Wild Velvet Fork Appears! Inclusive Blockchain Protocol Changes in Practice A. Zamyatin, N. Stifter, A. Judmayer, P. Schindler, E. Weippl and W. J. Knottenbelt 5th Workshop on Bitcoin and Blockchain Research Financial Cryptography and Data Security 2018 HP Lv ???Velvet Fork HP Lv 511.653Bitcoin
  • 2. Motivation • Ongoing debate on consensus changes in permissionless blockchains • Velvet fork concept recently introduced • [Kiayias et al.,’17] • Do Velvet forks exist in practice? • Existing definition of protocol update mechanisms don’t fully capture the concept of a Velvet fork • [Bonneau et al.,’15] • [Buterin,‘17] • [Chepurnoy et al.,‘17] • [Giechaskiel et al.,’16] https://imgs.xkcd.com/comics/standards.png
  • 3. Soft vs. Hard Forks • Hard fork • Descriptor for changes incurring a permanent split of the blockchain • However: No majority  No chain split if (assuming econom. rational actors) • Soft Fork • Some level of compatibility preserved towards clients adhering to previous rules • However If majority of consensus participants is not upgraded  Permanent split
  • 4. Soft vs. Hard Forks • Hard fork • Descriptor for changes incurring a permanent split of the blockchain • However: No majority  No chain split (assuming econom. rational actors) • E.g., a failed 2Mb blocks fork: upgraded miners consider old rules valid and follow the longer „legacy“ chain. New blocks continously discarded by legacy miners. • Soft Fork • Some level of compatibility preserved towards clients adhering to previous rules • However: If majority of consensus participants is not upgraded  Permanent split
  • 5. Notation • Pre-agreed set of protocol rules 𝑷𝑷 • Validity set (𝑽𝑽) • Set of all blocks valid under rules 𝑷𝑷 • Block 𝒃𝒃 is valid under 𝑷𝑷 iff 𝒃𝒃 ∈ 𝑽𝑽 • Question: how does a protocol change 𝑷𝑷 → 𝑷𝑷𝑷 affect consensus? • Changes to validity set denoted as 𝑵𝑵
  • 7. Velvet Forks • Rules applied conditionally • No majority agreement required • Never causes a permanent chain split • Except if conflicting rules introduced by legacy miners
  • 8. Velvet Forks in the Wild • P2Pool • Subchains and Weak Blocks • Merged Mining • Overlay Protocols and Colored Coins
  • 9. P2Pool • Decentralized Mining pool • Weak/Near blocks used as pool „shares“ • Additional structure: Sharechain A. Zamyatin, „Merged Mining: Analysis of Effects and Implications“, MSc Thesis, Vienna University of Technology, 2017
  • 10. Security Implications • Blocks may no longer have the same (economic) value to upgraded (velvet) and legacy miners. • Possible effects on double spending and selfish mining • [Carlsten et al.,‘16] – Petty compliant miners and better timing of selfish mining attacks in a block reward free model
  • 11.
  • 12.
  • 13.
  • 14. Security Implications • Blocks may no longer have the same (economic) value to upgraded (velvet) and legacy miners. • Possible effects on double spending and selfish mining • [Carlsten et al.,‘16] – Petty compliant miners and better timing of selfish mining attacks in a block reward free model • Insidious Soft Fork 1) Start as velvet fork 2) Gain adoption 3) Discard legacy blocks / conflicting rules (soft or hard fork) 4) ??? 5) Profit?
  • 16. References • A. Kiayias, A. Miller, and D. Zindros. Non-interactive proofs of proof-of-work. Cryptology ePrint Archive, Report 2017/963, 2017 • J. Bonneau, A. Miller, J. Clark, A. Narayanan, J. A. Kroll, and E. W. Felten. Sok: Research perspectives and challenges for bitcoin and cryptocurrencies. In IEEE Symposium on Security and Privacy, 2015. • A. Chepurnoy, T. Duong, L. Fan, and H.-S. Zhou. Twinscoin: A cryptocurrency via proof-of- work and proof-of-stake. http://eprint.iacr.org/2017/232, 2017 • V. Buterin. Hard forks, soft forks, defaults and coercion. http://vitalik.ca/general/2017/03/14/forks and markets.html, 2017. • I. Giechaskiel, C. Cremers, and K. B. Rasmussen. On bitcoin security in the presence of broken cryptographic primitives. In European Symposium on Research in Computer Security (ESORICS), September 2016 • M. Carlsten, H. Kalodner, S. M. Weinberg, and A. Narayanan. On the instability of bitcoin without the block reward. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pages 154–167. ACM, 2016.
  • 17. • I. Eyal, A. E. Gencer, E. G. Sirer, and R. van Renesse. Bitcoin-ng: A scalable blockchain protocol. In 13th USENIX Security Symposium on Networked Systems Design and Implementation (NSDI’16). USENIX Association, Mar 2016. • A. E. Gencer, R. van Renesse, and E. G. Sirer. Short paper: Service-oriented sharding for blockchains. Financial Cryptography and Data Security 2017, 2017. • J. Lau. [bitcoin-dev] extension block softfork proposal. https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-January/013490.html, 2017. • C. Jeffrey, J. Poon, F. Indutny, and S. Pair. Extension blocks (draft). https://github.com/tothemoon-org/extension-blocks/blob/master/spec.md, 2017. • Bissias, George, and Brian Neil Levine. "Bobtail: A Proof-of-Work Target that Minimizes Blockchain Mining Variance (Draft)." arXiv preprint arXiv:1709.08750 (2017). • Y. Sompolinsky and A. Zohar. Secure high-rate transaction processing in bitcoin. In Financial Cryptography and Data Security, pages 507–527. Springer, 2015
  • 18. A Wild Velvet Fork Appears! Inclusive Blockchain Protocol Changes in Practice A. Zamyatin, N. Stifter, A. Judmayer, P. Schindler, E. Weippl and W. J. Knottenbelt a.zamyatin@imperial.ac.uk nstifter@sba-research.org 5th Workshop on Bitcoin and Blockchain Research Financial Cryptography and Data Security 2018