Fork (blockchain)

From Wikipedia, the free encyclopedia

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]: glossary [a]

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, they can also be used to reverse the effects of hacking such as the case with Ethereum and Ethereum Classic, or avert catastrophic bugs on a blockchain as was the case with the bitcoin fork on 6 August 2010.

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

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 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.[7]

A more recent hard-fork example is of Bitcoin in 2017, which resulted in a split creating Bitcoin Cash.[8] The network split was mainly due to a disagreement in how to increase the transactions per second to accommodate for demand.[9]

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.[1]: glossary  This could cause old nodes to accept data that appear invalid to the new nodes, or become out of sync without the user noticing. This contrasts with a hard-fork, where the node will stop processing blocks following the changed rules 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.[10] Permanent chain splits lead to a situation when two or more competing cryptocurrencies exist on their respective blockchains.[10]

Taxation[]

The taxation of cryptocurrency splits varies substantially from state to state. A few examples include:

Australian Taxation Office (ATO)[]

The ATO does not classify cryptocurrency splits as taxation events.[10] The ATO classifies the versions of the blockchain coming from the splits as the "original blockchain" and the "new blockchain"[clarification needed]. 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.[10]

HM Revenue & Customs (HMRC)[]

The UK 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(4) 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."[11]

As of September 2021, it is believed that more than 2.3 million people in the UK own a cryptoasset. As these assets don’t physically exist, HMRC has been forced to issue guidance stating that cryptoassets will follow the residence of the beneficial owner. So, if you live in the UK and trade cryptoassets, no matter where these assets are “held”, you will be liable to UK taxes. However, there is a growing belief that this guidance may well be challenged in the courts. This could impact future HMRC tax income from those not domiciled in the UK for tax purposes. "[12]

Internal Revenue Service (IRS)[]

The US Internal Revenue Service (IRS) classifies cryptocurrency splits as "airdrops" and as taxable events. According to the guidance published by IRS, provided the taxpayer is in possession of the keys, they are obliged to pay tax for the new cryptocurrency using the fair market value of the cryptocurrency as their income.[13][14]

See also[]

Notes[]

  1. ^ Alternatively, this situation is called a blockchain split[2] or a blockchain divergence.[3] If permanent, it is also referred to as a cryptocurrency split.

References[]

  1. ^ a b Antonopoulos, Andreas (2017). Mastering Bitcoin: Programming the Open Blockchain (2 ed.). USA: O' Reilly media, inc. p. Glossary. ISBN 978-1491954386.
  2. ^ Thieme, Nick (4 August 2017). "Bitcoin Has Split Into Two Cryptocurrencies. What, Exactly, Does That Mean?". Slate. Retrieved 8 March 2018.
  3. ^ Wu, Xun (Brian); Sun, Weimin (2018). Blockchain Quick Start Guide. Birmingham: Packt Publishing Ltd. p. 21. ISBN 978-1-78980-797-4.
  4. ^ Croman, Kyle; Eyal, Ittay (2016). "On Scaling Decentralized Blockchains" (PDF). Financial Cryptography and Data Security. Lecture Notes in Computer Science. Vol. 9604. pp. 106–125. doi:10.1007/978-3-662-53357-4_8. ISBN 978-3-662-53356-7. Retrieved 28 March 2019.
  5. ^ Jordan Pearson (14 October 2016). "'Bitcoin Unlimited' Hopes to Save Bitcoin from Itself". Motherboard. Vice Media LLC. Retrieved 17 January 2017.
  6. ^ Oscar Williams-Grut and Rob Price (26 March 2017). "A Bitcoin civil war is threatening to tear the digital currency in 2 — here's what you need to know". Business Insider. Retrieved 2 July 2017.
  7. ^ Lee, Timothy (12 March 2013). "Major glitch in Bitcoin network sparks sell-off; price temporarily falls 23%". Arstechnica. Archived from the original on 22 April 2013. Retrieved 25 February 2018.
  8. ^ Smith, Oli (21 January 2018). "Bitcoin price RIVAL: Cryptocurrency 'faster than bitcoin' will CHALLENGE market leaders". Express. Retrieved 6 April 2021.
  9. ^ "Bitcoin split in two, here's what that means". CNN. 2017-08-01. Retrieved 2021-04-07.
  10. ^ a b c d "Transacting with cryptocurrency". ato.gov.au. Australian Taxation Office. Retrieved 2019-10-11.
  11. ^ "Cryptoassets for individuals". www.gov.uk. HM Revenue & Customs. 2018-12-19. Retrieved 2019-10-11.
  12. ^ "Taxing Cryptoasset Profits". www.wilkinssouthworth.co.uk. Wilkins Southworth. 2021-09-01. Retrieved 2021-09-01.
  13. ^ "26 CFR 1.61-1: Gross income" (PDF). www.irs.gov. Internal Revenue Service. 2019. Retrieved 2019-10-11.
  14. ^ Davison, Laura; Versprille, Allyson (9 October 2019). "Cryptocurrency Investors Get New IRS Income-Reporting Rules". Bloomberg. Retrieved 11 October 2019.
Retrieved from ""