Is Litecoin a fork of Bitcoin?

Many people were confused by the word fork and thought Litecoin was a fork of Bitcoin. Is it the case? This article clarifies it.

What does fork mean?

The word fork has mainly four meanings in the crypto space. That is the major source of the confusions. Thus, we need to clarify the meanings first and know what people are actually talking about.

Software project fork

This is defined in Wikipedia as the following.

in software engineering, a projectfork happens when developers take a copy of source code from one software package and start independent development on it, creating a distinct and separate piece of software.

For this meaning, Litecoin is a fork of Bitcoin because the Litecoin project’s code was copied from Bitcoin and then modified.

Soft-fork

A soft-fork is an upgrade of the consensus protocol that is backward compatible. Therefore, new blocks generated by new nodes can be accepted by old nodes, and thus old nodes do not need to upgrade and can still run although they may not recognise some content in the new blocks. It is a gentle form of upgrades, and that is where the name comes from.

Hard-fork

A hard-fork is an upgrade of the consensus protocol that is not backward compatible. Illustrated as the following figure, nodes with a hard-fork will generate blocks (brow blocks) that will be rejected by old nodes. Bitcoin Cash is a hard-fork of Bitcoin because Bitcoin Cash’s blocks cannot be recognised by Bitcoin nodes. A hard-fork basically creates a new coin, and for old nodes to accept the new blocks, they have to upgrade.

Conclusion

The Litecoin project’s code is forked from Bitcoin.

However, because Litecoin and Bitcoin share no common ancestor, Litecoin is neither a soft-fork nor a hard-fork of Bitcoin, and it is also not a sustained chain split of Bitcoin.

We can verify that by comparing block 0 (aka Genesis block) of Bitcoin, Bitcoin Cash, and Litecoin shown below. We see Bitcoin and Bitcoin Cash share exactly the same Genesis block, but Litecoin’s Genesis block was created by Charlie Lee separately, so Litecoin is a completely new blockchain.

Leave a comment

Design a site like this with WordPress.com
Get started