Understanding hard forks

To understand what a hard fork is, it’s essential to first understand blockchain technology. A blockchain is essentially a chain made out of blocks of data that work as a digital ledger in which each new block is only valid after the previous one has been confirmed by the network validators. Data on the blockchain can be traced all the way back to the first-ever transaction on the network. This is why we can still see the first block on the Bitcoin blockchain.

A hard fork is essentially a permanent divergence from a blockchain’s latest version, leading to a separation of the blockchain, as some nodes no longer meet consensus, and two different versions of the network are run separately.

This essentially means that a fork is created on the blockchain where one path keeps following its current set of rules, while the second path follows a new set of rules. A hard fork is not backward compatible, so the old version no longer sees the new one as valid.

Hard forks are often seen as dangerous because of the chain split that often occurs. If a split occurs between the miners who secure the network and the nodes that help validate transactions, the network itself becomes less secure and more vulnerable to attacks.

A common way to undertake malicious action against a blockchain would be to perform a 51% attack, which is when a cabal of miners manages to have over 51% of the computing power that secures a network and use it to alter the blockchain’s history. Some networks created as a result of hard forks have, in fact, suffered numerous 51% attacks where bad actors double-spent the same funds. These attacks have bad actors leveraging their superior computing power in the network to reorganize blocks, allowing them to double-spend.

Another vulnerability that’s possible with hard forks is replay attacks. Replay attacks occur when a malicious entity intercepts a transaction on a forked network and repeats that data on the other chain. Hard forks without replay attack protection see both transactions become valid, meaning someone can move another users’ funds without controlling them.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Genaro Network (GNX)

First smart data ecosystem with a Dual-Strata Architecture. See full blog at Smart Data Ecosystem Publication or https://medium.com/genaro-network