Are You an Ambitious Entrepreneur Aspiring to Launch a World-Class Web3 Project? GRAB your WEB3 EXPERT CONSULTATION!
Book a Session!

Ethereum Hard Forks Explained

41

What Is a Cryptocurrency Fork?

The world of cryptocurrency is quite young, and it is constantly evolving. A striking feature of cryptocurrencies is that all transactions are recorded in the blockchain. On the one hand, this makes it possible to track all transactions and remain confident of their security. On the other, it is impossible to change or rewrite cryptocurrency code. Sometimes, while working, cryptocurrency users find errors in the code or in system operation. This is where forks come to the rescue.

Before proceeding to an analysis of Ethereum soft fork and hard fork, however, we must delve into technical terminology.

A fork is a change or modification to the program code that underlies a cryptocurrency or a change in the operating principles of the blockchain system, according to which transaction data blocks are considered authentic and are added to the global network. The cryptocurrency program code is opened for viewing, and anyone can interact with it. As it is publicly available for viewing, one can identify problems and errors unaccounted for by its creators and suggest options for eliminating them. Of course, no one can make changes to the global blockchain network, since other participants will not accept them. It is possible to offer an option and submit it for coordination with the most influential market participants, who have concentrated most of their production capacity into their own hands and serve the vast majority of transactions.

There are two types of forks:

A soft fork implies minimal intervention in the existing technology and will have only a point effect, without serious consequences for the asset. A soft fork introduces updates to the existing protocol. Its previous versions can still be used, but there are additional features in the new version. For example, if you do not upgrade Skype, you can still use it, but without the new functions. You will not lose your contact list. Ethereum soft fork operates on the same principle.

Blockchain Soft Fork

Most often, soft forks are used by developers of a cryptocurrency or top mining pools who decide to make minor changes to the network. It is not necessary to update the software nodes for this. Usually, the network simply “rolls” a few blocks back and makes the necessary changes to the code. The implementation of the Ethereum soft fork requires the consent of a majority of network participants.

a soft fork

Users who did not support the innovation can still work on the old chain.

A hard fork is a radical restructuring of the asset’s software code, which affects the fundamentals of its work. This results in changes all the way up to the mining principles and rules by which transactions take place. In simple terms, a soft fork assumes a change in the code. New units of the blockchain network released after the changes to the network do not contradict the old blocks of information and can interact with them within a single mechanism.

Blockchain Hard Fork

A hard fork changes the rules so much that it results in a split of the old asset into two parts, one of which works according to the old principles. The other functions according to the rule set by the initiators of the hard fork. It can be said that a hard fork leads to the emergence of a new asset on the market based on the older one, but their principles of work differ. Despite the similar essence of their working principles, the assets cannot interact with each other, as the systems upon which they are based will not understand each other. Hard forks are quite rare, but when they happen, they attract the close attention of the public, as users will be forced to take a side.

A hard fork generates drastic change in the source code and is incomparable with the old protocol and software. In this case, a new chain is separated from the old one, and no longer interacts with it. Transactions made in the previous chain are not recognized by the new chain. The approval of network participants is required for carrying out hard forks; however, if some miners come out against it, a split will occur. That is, two separate chains will appear on the basis of one source code. They can exist in parallel; the chain that users have chosen most often survives. The second immediately dies away or goes through a long period of stagnation.

Ethereum hard fork

Recently, the cryptocurrency community has been talking about a third type of network fork: the user soft fork. The idea is that network rules will not be changed by developers or miners, but rather by cryptocurrency exchanges and ordinary coin holders. So far, however, there is neither a clear plan for the implementation of such a scheme nor a real understanding of how it will work.

The causes and factors leading to forks can be very different. For example, an error may be detected in the source code of a cryptocurrency that weakens its protection. In order to close this gap, developers update the source code. This increases the reliability of the asset and the safety of its use by other market participants. In a different scenario, the cryptocurrency and the system in which it exists cannot cope with the load, transaction speed suffers, commission costs increase, and an extra load is placed on the miners. All of this adversely affects the indicators of demand for the cryptocurrency, and given that this is the only measure of its cost, a fork can become a necessary measure to help an asset maintain its position in the market.

In fact, there are many factors that can lead to a fork. And in general, forks can be called a positive phenomenon, because they can often strengthen an asset, making it more competitive and relevant to the requirements of the market.

So, a fork is the use of the source code of a certain software project to create a new project based upon it. A fork is possible wherever program code is used. Given that the blockchain is based upon software code, the concept of a fork is applicable to most cryptocurrency networks. This means that the rules according to which the block receives its valid status simply change.

The mechanism of blockchain functioning is based upon confirmation of the authenticity of blocks. In any blockchain network, there are basic rules according to which blocks are considered authentic. These rules are written into the program code. They can be changed during a fork, and this will create a branch from the main chain. This is done in order to:

  • make changes to the network (for example, to introduce new data encryption or a new mining algorithm)
  • fix network bugs and flaws or increase scalability
  • create a new product based upon proven technology.

Ethereum forks model

Is It Difficult to Create a Fork?

Theoretically, anyone can create a fork. One only needs to copy the source code of the Ethereum blockchain. But the implementation of the project and its development are labor-intensive processes. First, you need to create sufficient demand for new coins; otherwise, they are useless. Second, it is necessary to solve the problem of the complexity of mining. If you remember, the level of complexity should provide a solution to the puzzle network for a certain time (10 minutes on the Bitcoin network). If the community cracks (as happened with BTC and BCH in 2017) by 90% BTC and 10% BCH, statistically, in BCH, you will need to look 10 times longer for a new block (100 minutes). Since the cost of electricity and equipment remains the same, the amount of remuneration remains in question. BCH was difficult at first, and if not for a number of political and economic factors, BCH, like 99% of all other forks, could simply disappear.

Apart from the fact that a fork by itself is an absolutely stressful phenomenon (you need to deal with the concepts of both projects, then pull coins into your cold wallet), network attacks can also occur. Since the code is completely open, someone is constantly trying to hack it with more sophisticated methods. A development team, fighting this off, improves the code of the software product. For instance, replay attacks occur when, after a fork, someone copies/repeats a transaction from one chain to another.

Since you sign a transaction with your private key, which leads to a unique transaction identifier (a piece of the puzzle), a person needs to go to another chain, copy the identifier (it will remain the same), and repeat the transaction. This can happen when, after the fork, you made a transaction in one blockchain. You can protect yourself by setting anti-replay protection. This is a kind of code update, but it does not happen immediately. In the Ethereum Classic fork, it took a couple of weeks to solve the problem.

Therefore, if a fork of your coin occurs, the most important thing is not to transfer funds anywhere. Wait until replay protection is available.

Ethereum Classic: The DAO Experience

The DAO project, launched by the Slock.it startup on May 16, 2016, had a huge fundraising campaign. Within four weeks, they managed to raise more than $120 million. This defect in the system allowed the hacker to squander a third of The DAO’s capital by using an address that wasn’t controlled by community members.

Let’s explore this case in more detail.

In June 2016, one person (or a group of individuals) used the smart-contract code vulnerability of an autonomous decentralized organization: The DAO. The DAO’s task was to raise funds to finance Internet projects (IOT). Ultimately, the damage amounted to almost a third of the collected $168 million: about $50 million. The attacker adhered to the (informational) code of The DAO, and was therefore “legally” invulnerable. Since there is no central authority determining the type of action that should be taken in such a situation, The DAO miners should have made a final decision by July 14, 2016 by voting. Otherwise, this person could take his prey and harm investors. To solve the problem, Ethereum resorted to a hard fork, editing the blockchain code in order to recover the stolen money and transfer it to the legitimate owners.

hard fork

Vitalik Buterin’s team held an Ethereum hard fork to reset the system, withdraw smart contracts related to the ICO, and return the stolen money to depositors. It was possible to return the funds, but not all users were delighted with the changes in the system. Opponents claimed that the Ethereum fork opposed the policy of decentralization. They remained on the old chain, and called it Ethereum Classic.

ethereum classic charts

The new chain kept the name Ethereum. The attack was carried out only on The DAO, and the Ethereum network was in no way affected. Still, this was enough for investors to become very skeptical about the Ether. To restore the funds, Vitalik Buterin made the decision to roll back the system until the funds were still in the account. In this way, Vitalik was able to return absolutely all of the stolen funds while making changes to the system in order to prevent future incidents.

In traditional systems, we can assume that system weakness is concentrated mainly in management, as it either does not exist or is unreliable. This question will not even arise in non-public blockchain (consortium blockchain or private), since the security, control, and organization of rights is implemented by a central body (legal entity). This is transferred to management, which bears the entire burden of responsibility. All work of the organization will be governed by its charter and regulations.

The DAO hacker attack experience demonstrated the need for changes in private (or exclusive) blockchain systems. As for the technology of the “usual” blockchain, if someone tries to make changes to a block, it “breaks the math” of the chain of algorithms supporting the whole set of blocks. Except for situations when participants accept the changes, the system experiences failure, leaving the blockchain in its previous form and creating a tracked confirmation of the manipulation. If a sufficient number of participants agrees on the need to make changes, then you can add a fork (as happened with Ethereum in July 2016). The branch ends where the faulty unit is located, and the other branch continues after the corrected unit. After the block has been fixed, it is necessary to restore all subsequent blocks. This can be destructive and very expensive — and, in some cases, completely impracticable.

Ether Zero Fork

Ether Zero (ETZ) is an Ethereum hard fork that operates on a bi-level blockchain model. It has become a third type of Ethereum.

Ether Zero is an Ethereum fork designed to interact with DApps on a daily basis. It will implement the main functions that most projects want to achieve at the moment: zero-cost commissions, instant transactions, and a blockchain with very large bandwidth. It also implements a network system at two levels. All management belongs to the network community.

Developers started talking about the new Ethereum hard fork date release for the first time in December 2017. It was assumed that a completely new platform for smart-contract creation would be released. The platform was developed by real professionals who specialize in creating decentralized autonomous applications. Even before the coin release, networks were full of reviews that the new fork would surpass the Ethereum network in terms of its abilities.

The new network uses the Ethereum blockchain, but, as with any Ethereum fork, it has its own characteristics:

  • PoW node and master node structure. The PoW node is needed to synchronize data, and the master node to check ongoing transactions. The extraction of new coins in this network is performed separately from the verification of transactions.
  • Autonomous community network management
  • No commission for the implementation of transactions
  • Instant transfers
  • Instant payment function
  • A large number of transactions starting at 10,000 payments per second
  • Increased network scalability (higher than the Ethereum).

What is the difference between Ether Zero and Ethereum? The basic difference is the amount of time it takes to generate new blocks. On the Ether network, a user needs 15 seconds, while the new version copes much more quickly: in 10 seconds. There are also differences in recalculating the complexity of generating new blocks. Online Ethereum recalculation of complexity occurs after the release of a new unit. In ETZ, complexity is recalculated in a dynamic way. The size of an ETZ block does not differ from its “parent” block. The block size is still 2 MB. There is also a function for protection against payment duplication.

EtherZero charts

During its short history, the price of the ETZ coin rose above $200 only once. On the release date, the ETZ price was around $40. On January 21, in just a couple of hours, its price rose sharply to $233, and lasted 12 hours at this level. Gradually, its price began to decline. Ethereum Zero’s rate reached its absolute minimum on June 14, when the value of one coin dropped to $1.91. After that, the price began to grow smoothly. On June 19, it was already at $2.40.

The development team has ambitious plans for their project. They want to raise the market value of their coin to 10% higher than the price of the Ether. By the end of 2019, developers want to launch Star DAPP’s long-term developer reward program to encourage them to work and contribute to the development and prosperity of the developer community.

Ether Zero’s mining algorithm is the same as Ethereum’s. It is called the Ethash. One of the main features of this algorithm is to find a nonce-input to reach an indicator below a certain limit.

EtherZero ethash algorithm

Metropolis

This Ethereum fork was organized in order to transfer protocol functions to a new layer of abstraction. The update is divided into two parts, called Byzantium and Constantinople.

The main change made during the implementation of Metropolis was the emergence of new cryptography tools called zk-SNARKs. These provide the opportunity for network users to implement transactions with a much greater level of anonymity than in the previous version. It is implemented by eliminating mandatory disclosure of all data to prove work done.

The developers decided to simplify the work with the smart contract and make it more understandable. By implementing this update, an improved security system was implemented on the network. This Ethereum hard fork consists of nine protocols designed to improve the system. The update is fully implemented without errors. This has accelerated the operation of the Ethereum blockchain.

The next part of this Ethereum hard fork is the main innovation: a sophisticated and scalable view of the EIP 86. Some users call this fork revolutionary, as it guarantees an increase in the quality of platform protection.

The main goal of the Metropolis Ethereum hard fork release is to transfer a number of protocol functions to an abstract layer. Instead of setting a complex set of rules at the level of the main protocol governing the creation of contracts, confirmation of transactions, mining, and other aspects of system behavior, the Ethereum protocol logic will be transferred to ETM and become a set of contracts.

Byzantium

The Byzantium upgrade was the first stage of a larger fork called Metropolis. The Byzantium hard fork was an update to Ethereum’s blockchain held at block 4,370,000. This new Ethereum hard fork date was set for October 2017. It contained nine Ethereum Improvement Protocols (EIPs) created to refine Ethereum’s privacy, scalability, and safety.

The Byzantium protocol consists of the following features:

  • simplification of protocol code and acceleration of synchronization for main clients; increased security; upgrades for light clients by developers
  • compiled and embedded contracts for operations with elliptic curves and large-integer arithmetic; simplification of application development based upon ring signatures and RSA cryptography
  • a series of small changes to increase transaction speed
  • postponement, but not cancellation of, the “complexity bomb” impact

The goal of the Byzantium hard fork was to make the use of Ethereum and its smart contracts more extensive and popular.

smart contracts

Constantinople

The Constantinople protocol will have the following features:

  • transfer of the entire logic of confirming signatures and one-time codes from the main protocol code into contracts
  • permission for developers to experiment with new signature schemes, privacy technologies, and other modifications without requiring new hard forks or support at the level of basic protocol
  • reduction of the miner’s reward to 3 ETH per block, which will lead to a decrease in the emission of new coins, from 14.75% to 8% per annum

The update and the changes it will bring to the Ethereum ecosystem will be irreversible. Its main goal is to increase the efficiency of the network and restructure the commission system. In addition, the goal of the this Ethereum hard fork is to make the Ethereum blockchain more scalable. Speaking of scalability problems, Ethereum’s key figure, Vitalik Buterin, has assured the public that sooner or later, the largest network for decentralized applications will be able to perform up to a million transactions per second.

This Ethereum hard fork was designed to change the economy of the entire blockchain, mainly by delaying the “complexity bomb” by about 12 months. Some experts have already called it the “Ethereum Ice Age.”

Frontier – Homestead

Ethereum started the development of the next Ethereum hard fork Frontier alpha version in July 2015. It was poorly protected, which led to the immediate implementation of a new version of the protocol, called Homestead. When Ethereum moved from one version to another, the price of the coin doubled from $12 to $30. The new version of the software was implemented in block number 1,150,000. The release of Homestead included the following updates:

  • EIP-2 – a set of changes in the rules of consensus, including an increased price of gas, limiting the maximum value of the transaction signature s-value to better protect the network from spam attacks, modifications to the mining complexity calculation algorithm, and bug fixes
  • EIP-7 – implementation of a new operation: DELEGATECALL
  • EIP-8 — improvement of network compatibility for future protocol changes

Serenity

As Ethereum fork moves to the Serenity version, the consensus algorithm will change from Proof of Work (PoW) to Proof of Stake (PoS). At the same time, miners will also have to move from the PoW chain to PoS. With the PoW algorithm, computers compete with each other about who will solve a complex math problem more quickly. The device that manages to solve the problem adds a new block to the network and receives a reward: for the block itself and the transactions included in it. Due to the fact that the first computer that solves the problem gets the entire award, miners are constantly increasing the power of their devices in order to outstrip competitors and sign as many blocks as possible.

However, because of this, miners are forced to spend big money on equipment and electricity, which farms need for the extraction of cryptocurrency. The more computing power a miner has, the more energy he or she needs.

When using the PoS consensus algorithm, validator nodes can put money on blocks that are added to the blockchain. The higher the probability of receiving money as a result of PoS mining, the greater the proportion of cryptocurrency accumulated by miners relative to other users of the system.

proof of work versus proof of stake

Casper

The main task of the Casper protocol is to switch from PoW to share distribution (PoS), which will bring a threefold increase in productivity, make it possible to further develop the network, and significantly reduce the price of gas. This Ethereum fork protocol will be implemented in two stages: first the Casper PoS/PoW hybrid protocol, then pure Casper PoS. With full PoS, the minimum deposit of a validator in the first stage will be at least 1,000 ETH.

Holders of a smaller number of coins will have to be pooled. This is due to the fact that the system may not cope with a large number of messages. The minimum deposit of the validator specified in the Lilac Book of 32 ETH refers to the period when 100% PoS + sharding will be implemented. It also follows from the Book that for any deposit, the remuneration ratio is the same 3/1000000000 per second, provided that the validator always does the right thing. Consequently, the maximum annual remuneration at PoS will be (3/1000000000) * 31536000 = 0.0946 or 9.46%. Considering the fact that over time, the processing of smart contracts will bring the main profit, emission should slow down; later, it can stop altogether.

After the launch of this Ethereum fork, the “complexity bomb,” conceived to make mining more difficult over time, will begin to accelerate. The time needed to mine a block will increase, and, as a result, miners will receive less and less income. In the end, the network will simply become unsuitable for the work of miners, but they should not be afraid of full PoS, since, in addition to the deposit, they will also need sufficient power for EVM to work. Some projects are already planning to attract both free coins and free capacities for combining validators into full nodes.

Raiden and Plasma

Both the Raiden and Plazma protocols could become forks to create a side chain.

The Raiden network is a decentralized payment network built on top of the Ethereum blockchain. Raiden’s payment channels allow an unlimited number of transfers to be made via two-way transfer between network members. Such transactions are carried out instantly and without involvement in the blockchain. The only thing that is recorded in the blockchain is the initial opening and closing of the payment channel when payment is complete. In addition, this Ethereum hard fork provides the ability to use a simple API to develop scalable applications with decentralized management. Raiden technology can also be used to pay for purchases and to exchange tokens within a network.

Lightning Network technology has been adapted to Ethereum in the form of the Raiden protocol. The main idea behind this Ethereum hard fork was to move from a model where all transactions fall into a single public blockchain (a bottleneck of the system) to a model of private messaging between users, who are also able to transfer value.

Raiden uses a network of p2p-channels of payments and deposits in Ethereum to keep guarantees provided by the blockchain system. Raiden is an addition to the Ethereum network. The Raiden node works in conjunction with the Ethereum node and communicates with other Raiden nodes to make payments, as well as with the Ethereum blockchain to manage deposits.

Even if you send millions of offline transactions to the network, the commission will remain low, because only a few entries in the main blockchain are required to confirm the calculations (for example, if you send transactions once a day).

The processing performance of operations will increase significantly, since many small transactions will now be carried out outside the blockchain, then merge into larger transactions that fall into the blockchain through Raiden. But that is not all. Lightning can also be used to scale smart contracts and change their states. This is precisely the essence of Plasma.

plasma sharding stages

Should I Invest in Cryptocurrency Forks?

Every investment carries a certain level of risk. Cryptocurrency forks are just as risky as any other type of investment. However, experts have identified several obvious advantages of Ethereum soft fork and hard fork:

  • new opportunities for earnings (extracting new coins associated with a popular network is much more profitable than mining old coins, which are already mined by a huge number of users)
  • a greater choice of cryptocurrencies for investment, free accrual of the equivalent amount of promising coins (for example, those with 10BTC in their account automatically received 10 BCH, 10 BTG, and so on)
  • the possibility of qualitative changes, plus fixing bugs and problems that reduce the popularity of the project
  • stimulating development through the creation of high competition and diversification of offers

With that said, however, it is possible to talk about all these advantages in only one context: if a fork was created to improve the network performance.

In fact, there are currently not many projects with such a noble goal and real plans for development. According to experts from Bloomberg, Coinomi, and other companies related to the blockchain, the majority of forks are created solely for the purpose of making quick money. However, most experts are positive about the tendency to increase the number of forks. According to them, this indicates the rapid development of the market and encourages developers to create new versions of old networks.

Investing in forks may bring good profits. To do this you have to keep track of Ethereum hard fork date. However, we recommend considering only forks that were created to improve existing blockchain networks, not those created for money laundering. If your interest in the topic of cryptocurrency continues and you monitor the emergence and development of new assets, you will definitely hear more about forks. Any of them could affect your personal cryptocurrency assets.

To find out more about the cryptocurrency sphere, contact the Applicature team. We would be glad to help you!

Insights from our Consulting Department

December 1, 2022
Applicature helps Kingaru with development, funding and token launch for Web3 immersive e-commerce
October 3, 2022
Dissecting Crypto Winter— Opportunities for Family Offices and Private Funds

Leave a Reply

Your email address will not be published. Required fields are marked *

+1-209-813-2474 |  25 Belle Avenue, San Rafael