Bitcoin Forum
July 28, 2024, 08:20:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Explaining Forks  (Read 152 times)
oil.vision (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile WWW
November 30, 2017, 07:43:29 AM
 #1

could someone fully explain to me how forks work? brainy articles i found on Goole don't really help
odolvlobo
Legendary
*
Offline Offline

Activity: 4396
Merit: 3299



View Profile
November 30, 2017, 09:13:55 AM
Last edit: November 30, 2017, 09:54:55 PM by odolvlobo
 #2

A block chain is a history of all transactions. New transactions are grouped into a block and appended to the chain. This appending of blocks is done separately by all miners, so there is a possibility that two miners may append blocks to their copies of the chain at the same time. When other miners see these two new versions of the chain, they must pick one to append their blocks to. Eventually one will be longer than the other just by random chance, and at that point, all miners will switch to that chain because that is the rule.

Now, miners only accept valid chains. A fork occurs when some nodes believe that one version of the chain is valid but the rest of the nodes believe that is is not valid. If the two groups of nodes cannot agree, then there is a permanent fork as each group continues to append blocks to their version of the chain.

This can be done on purpose, as in the case of Bitcoin Cash. At the announced time, a Bitcoin Cash miner added a block to the chain that Bitcoin Core nodes considered to be invalid. Bitcoin Cash nodes consider the chain with this block to be valid so they continue with the version of the chain that includes the block. Bitcoin Core nodes consider the block to be invalid, so they continue with a version of the chain without the block. Since they can't agree, there is a permanent fork in the chain at that block.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
oil.vision (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile WWW
November 30, 2017, 09:26:14 AM
 #3

Thank you very much for the explanation!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!