请输入您要查询的百科知识:

 

词条 Fork (blockchain)
释义

  1. Types of forks

      Hard fork    Soft fork  

  2. See also

  3. Notes

  4. References

In blockchain, a fork is defined variously as:

  • "what happens when a blockchain diverges into two potential paths forward"
  • "a change in protocol" or
  • a situation that "occurs when two or more blocks have the same block height"[1]{{efn|Alternatively, this situation is called a blockchain split[2] or a blockchain divergence. If permanent, it is also referred to as a cryptocurrency split.}}

Forks are related to the fact that different parties need to use common rules to maintain the history of the blockchain. When parties are not in agreement, alternative chains may emerge. While most forks are short-lived some are permanent. Short-lived forks are due to the difficulty of reaching fast consensus in a distributed system. Whereas permanent forks (in the sense of protocol changes) have been used to add new features to a blockchain, to reverse the effects of hacking, or catastrophic bugs on a blockchain as was the case with the bitcoin fork on 6 August 2010 or the fork between Ethereum and Ethereum Classic.

Blockchain forks have been widely discussed in the context of the bitcoin scalability problem.[3][4][5]

Types of forks

Forks can be classified as accidental or intentional. Accidental fork happens when two or more miners find a block at nearly the same time. The fork is resolved when subsequent block(s) are added and one of the chains becomes longer than the alternative(s). The network abandons the blocks that are not in the longest chain (they are called orphaned blocks).

Intentional forks that modify the rules of a blockchain can be classified as follows:

Hard fork

A hard fork is a rule change such that the software validating according to the old rules will see the blocks produced according to the new rules as invalid. In case of a hard fork, all nodes meant to work in accordance with the new rules need to upgrade their software.

If one group of nodes continues to use the old software while the other nodes use the new software, a split can occur. For example, Ethereum has hard-forked to "make whole" the investors in The DAO, which had been hacked by exploiting a vulnerability in its code. In this case, the fork resulted in a split creating Ethereum and Ethereum Classic chains. In 2014 the Nxt community was asked to consider a hard fork that would have led to a rollback of the blockchain records to mitigate the effects of a theft of 50 million NXT from a major cryptocurrency exchange. The hard fork proposal was rejected, and some of the funds were recovered after negotiations and ransom payment. Alternatively, to prevent a permanent split, a majority of nodes using the new software may return to the old rules, as was the case of bitcoin split on 12 March 2013.[6]

Soft fork

In contrast to a hard fork, a soft fork is a change of rules that still creates new blocks recognized as valid by the old software, i.e., it is backwards-compatible. As for a hard fork, a soft fork can also split the blockchain when non-upgraded software creates blocks not considered valid by the new rules.[7]

See also

  • List of bitcoin forks

Notes

{{notelist}}

References

1. ^{{cite book|last1=Antonopoulos|first1=Andreas|title=Mastering Bitcoin: Programming the Open Blockchain|date=2017|publisher=O' Reilly media, inc.|location=USA|isbn=978-1491954386|page=Glossary|edition=2}}
2. ^{{cite news|last1=Thieme|first1=Nick|title=Bitcoin Has Split Into Two Cryptocurrencies. What, Exactly, Does That Mean?|url=http://www.slate.com/blogs/future_tense/2017/08/04/explaining_bitcoin_s_split_into_two_cryptocurrencies.html|accessdate=8 March 2018|work=Slate|date=4 August 2017}}
3. ^{{cite journal |last1=Croman |first1=Kyle |last2=Eyal |first2=Ittay |date=2016 |title=On Scaling Decentralized Blockchains |url=http://www.comp.nus.edu.sg/~prateeks/papers/Bitcoin-scaling.pdf |journal= |volume= |issue= |pages= |doi=10.1007/978-3-662-53357-4_8 |access-date=28 March 2019}}
4. ^{{Cite news |url=http://motherboard.vice.com/read/bitcoin-unlimited-hopes-to-save-bitcoin-from-itself-block-size |title=‘Bitcoin Unlimited’ Hopes to Save Bitcoin from Itself |author=Jordan Pearson |accessdate=17 January 2017 |date=14 October 2016 |work=Motherboard |publisher=Vice Media LLC }}
5. ^{{Cite news |url=http://www.businessinsider.com/bitcoins-hard-fork-bitcoin-unlimited-segregated-witness-explained-2017-3 |title=A Bitcoin civil war is threatening to tear the digital currency in 2 — here's what you need to know |author=Oscar Williams-Grut and Rob Price |accessdate=2 July 2017 |date=26 March 2017 |work=Business Insider |publisher=}}
6. ^{{cite web|last=Lee|first=Timothy|title=Major glitch in Bitcoin network sparks sell-off; price temporarily falls 23%|url=https://arstechnica.com/business/2013/03/major-glitch-in-bitcoin-network-sparks-sell-off-price-temporarily-falls-23/|publisher=Arstechnica|date=12 March 2013 | archiveurl = https://www.webcitation.org/6G4e02Xd1 | archivedate = 2013-04-22| deadurl=no}}
7. ^{{cite website|last1=Australia|first1=bitcoin|title=A Simple Guide to Blockchain Forks|date=12 July 2017|url=https://bitcoin.com.au/simple-guide-blockchain-forks/|accessdate=27 March 2019}}

1 : Blockchains

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 23:05:37