Forks are essentially the splitting of a blockchain network/community. A fork occurs when the original rules of a blockchain network are changed, intentionally or unintentionally.
The accidental fork occurred when different miners discovered two new ones on the blockchain network at almost the same timeblock, the original blockchain network will be temporarily divided into two different chains. Therefore, miners will be split between the two chains, and until a new block is added to one of the chains and a longer chain is formed, the longer chain will eventually be retained and the other will be discarded.
What is mining? Why do miners participate in mining? Please refer to the entry: What is mining?
Intentional fork refers to the situation where the blockchain rules are intentionally modified. Since old nodes may choose not to upgrade to the latest version for whatever reason, the original blockchain will be split into two depending on whether these nodes choose to upgrade to the latest version. Intentional forks can be further divided into soft forks and hard forks.
You may be interested in:
- What is a 51% attack?