SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
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

Más contenido relacionado

Similar a 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
 

Similar a 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
 

Último

Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Silpa
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY1301aanya
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Silpa
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformationAreesha Ahmad
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learninglevieagacer
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.Silpa
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxrohankumarsinghrore1
 
Stages in the normal growth curve
Stages in the normal growth curveStages in the normal growth curve
Stages in the normal growth curveAreesha Ahmad
 
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
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingadibshanto115
 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)AkefAfaneh2
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Silpa
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 

Último (20)

Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptx
 
Stages in the normal growth curve
Stages in the normal growth curveStages in the normal growth curve
Stages in the normal growth curve
 
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
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 

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