Fork (blockchain)


In blockchain, a fork is defined variously as:
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 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.

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 are added and one of the chains becomes longer than the alternative. The network abandons the blocks that are not in the longest chain.
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 permanent 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.

Soft fork

A soft fork or a soft-forking change is described as a fork in the blockchain which can occur when old network nodes do not follow a rule followed by the newly upgraded nodes. This could cause old nodes to accept invalid data, or become out of sync without the user noticing. This contrasts with a hard-fork, where the node will throw an error and stop processing new transactions instead.

Cryptocurrency splits

A permanent chain split is described as a case when there are two or more permanent versions of a blockchain sharing the same history up to a certain time, after which the histories start to differ. Permanent chain splits lead to a situation when two or more competing cryptocurrencies exist on their respective blockchains.

Taxation

The taxation of cryptocurrency splits varies substantially from state to state.

Australian Taxation Office (ATO)

The ATO does not classify cryptocurrency splits as taxation events. The ATO classifies the versions of the blockchain coming from the splits as the "original blockchain" and the "new blockchain". In relation to the cost base, the cryptocurrency on the original blockchain should be assigned all the original cost base, while the cryptocurrency on the new blockchain should be assigned cost base zero.

HM Revenue & Customs (HMRC)

The HMRC does not classify cryptocurrency splits as taxation events. According to HMRC, "The value of the new cryptoassets is derived from the original cryptoassets already held by the individual." In relation to the cost base, HMRC says that "Costs must be split on a just and reasonable basis under section 52 Taxation of Capital Gains Act 1992. HMRC does not prescribe any particular apportionment method. HMRC has the power to enquire into an apportionment method that it believes is not just and reasonable."

Internal Revenue Service (IRS)

The IRS classifies cryptocurrency splits as "airdrops" and as taxation events. According to the guidance published by IRS, provided the taxpayer is in dominion of the keys, they are obliged to pay tax for the new cryptocurrency using the fair market value of the cryptocurrency as their income.