When dealing with decentralized technology, there is often much more than meets the eye. Peeling back the layers of blockchain technology exposes the dense underlayers of the blockchain and cryptocurrency world where immensely complex moving parts are occurring to make sure the decentralized blockchains remain secure and trustworthy, free from a centralized authority.
Unlike centralized systems, blockchains cannot call top-down maintenance to implement changes as in a regular system, the power is centralized and changes are easy to make. Blockchains, on the other hand, are composed of nodes running from all across the world, with no singular point of command or failure.
Due to this, blockchains can be decentralized, but also require forking in order for changes to be made to the blockchain
Blockchain
Blockchain comprises a digital network of blocks with a comprehensive ledger of transactions made in a cryptocurrency such as Bitcoin or other altcoins.One of the signature features of blockchain is that it is maintained across more than one computer. The ledger can be public or private (permissioned.) In this sense, blockchain is immune to the manipulation of data making it not only open but verifiable. Because a blockchain is stored across a network of computers, it is very difficult to tamper with. The Evolution of BlockchainBlockchain was originally invented by an individual or group of people under the name of Satoshi Nakamoto in 2008. The purpose of blockchain was originally to serve as the public transaction ledger of Bitcoin, the world’s first cryptocurrency.In particular, bundles of transaction data, called “blocks”, are added to the ledger in a chronological fashion, forming a “chain.” These blocks include things like date, time, dollar amount, and (in some cases) the public addresses of the sender and the receiver.The computers responsible for upholding a blockchain network are called “nodes.” These nodes carry out the duties necessary to confirm the transactions and add them to the ledger. In exchange for their work, the nodes receive rewards in the form of crypto tokens.By storing data via a peer-to-peer network (P2P), blockchain controls for a wide range of risks that are traditionally inherent with data being held centrally.Of note, P2P blockchain networks lack centralized points of vulnerability. Consequently, hackers cannot exploit these networks via normalized means nor does the network possess a central failure point.In order to hack or alter a blockchain’s ledger, more than half of the nodes must be compromised. Looking ahead, blockchain technology is an area of extensive research across multiple industries, including financial services and payments, among others.
Blockchain comprises a digital network of blocks with a comprehensive ledger of transactions made in a cryptocurrency such as Bitcoin or other altcoins.One of the signature features of blockchain is that it is maintained across more than one computer. The ledger can be public or private (permissioned.) In this sense, blockchain is immune to the manipulation of data making it not only open but verifiable. Because a blockchain is stored across a network of computers, it is very difficult to tamper with. The Evolution of BlockchainBlockchain was originally invented by an individual or group of people under the name of Satoshi Nakamoto in 2008. The purpose of blockchain was originally to serve as the public transaction ledger of Bitcoin, the world’s first cryptocurrency.In particular, bundles of transaction data, called “blocks”, are added to the ledger in a chronological fashion, forming a “chain.” These blocks include things like date, time, dollar amount, and (in some cases) the public addresses of the sender and the receiver.The computers responsible for upholding a blockchain network are called “nodes.” These nodes carry out the duties necessary to confirm the transactions and add them to the ledger. In exchange for their work, the nodes receive rewards in the form of crypto tokens.By storing data via a peer-to-peer network (P2P), blockchain controls for a wide range of risks that are traditionally inherent with data being held centrally.Of note, P2P blockchain networks lack centralized points of vulnerability. Consequently, hackers cannot exploit these networks via normalized means nor does the network possess a central failure point.In order to hack or alter a blockchain’s ledger, more than half of the nodes must be compromised. Looking ahead, blockchain technology is an area of extensive research across multiple industries, including financial services and payments, among others.
Read this Term such as new rules, bug fixes or soft additions. Let’s find out how soft and hard forks work to keep blockchains updated but secure and decentralized.
What Are Forks?
When working surrounding blockchains, a fork is considered to occur when a blockchain creates two different potential paths forward. Miners, who must all constantly agree on the rules of the blockchain will also all have to agree on rule changes.
To change the rules, you need to fork the blockchain, which demonstrates a change in rules or protocol. Forks often bring to life different cryptocurrencies with similar names, such as Bitcoin Cash and Ethereum Classic as new chains are created.
Not all forks are intentionally done, and accidental forks can occur when two miners almost mine the same block in the blockchain at the same time. Resolving the issue of unintentional forks will happen automatically, as one chain continues to add blocks, the other block will be abandoned, considered an orphan block.
Hard Vs Soft Forks
Both types of forks occur when a cryptocurrency’s code is altered with the largest difference between hard and soft forks being their desired outcome.
Both hard and soft forks are necessary tools for the longevity of a blockchain, both being used for different purposes to make changes in a decentralized system. Without forks, a centralized body with top-down control would be required to make changes in the blockchain.
Hard Forks
Hard Forks in blockchains occur when a permanent altar of code occurs in the chain, and some of the existing nodes refuse to accept previous versions of the blockchain. A hard fork needs all current nodes to upgrade to the newest version. In turn, the new version of the blockchain becomes completely different from the previous and is backward-incompatible.
The Hard fork may have been needed to drastically change a blockchains protocol or to fix a bug. Most of the time, the nodes which are still existing on the old chain will soon realize that their blockchain is outdated and is not being updated, leading them to upgrade to the newest version of the chain.
A hard fork has several other reasons for happening, such as reserving transactions which was demonstrated during Ethereum’s hack in 2016, to add new functions to the chain or address any security risks the current version poses to the chain.
Hard Forks, given by the name, are much harder than soft forks. They create a divide between the two sides and often harshly divide communities in half creating two sub-communities.
Examples of Hard Forks
The Bitcoin Cash Hard Fork
After the implementation of SegWit (Segregated Witness), a famous Bitcoin Hard Fork occurred, which resulted in Bitcoin Cash. A few Bitcoin developers did not like the new changes that SegWit brought upon the cryptocurrency and decided to Hard Fork the blockchain, resulting in Bitcoin Cash appearing in late 2017.
Bitcoin Cash is a successful cryptocurrency in its own right, currently sitting at rank 24, and never adopting SegWit.
There have been multiple other Bitcoin Hard Forks, resulting in cryptocurrencies such as Bitcoin Gold, Classic and Unlimited.
Ethereum’s Dilemma
In July 2016, Ethereum’s blockchain executed a hard-fork in order to return over $40m of Ethereum from a hacker’s address to a new address.
The Hard Fork allowed the funds to be moved via a new smart contract
Smart Contract
A smart contract is a piece of software that automatically executes a pre-determined set of actions when a certain set of criteria or met. One of the key tenets of smart contracts is their ability to perform credible transactions without third parties and are self-executing, with their conditions written into the lines of code that form themAdditionally, these transactions are both trackable and irreversible. For example, a smart contract could be used to give royalty payouts to a musical artist each time a song is played on the radio. The contract detects when the song is played, and then automatically sends a payout to the artist or artist. All parties involved in a smart contract must agree to the terms of the contract before it can be executed. They must also consent to any changes made to the contract. Transactions made through a smart contract are traceable and irreversible.Smart contracts were first proposed in 1994 by American computer Scientist Nick Szabo. Szabo created a digital currency called “Bit Gold” in 1998, over 10 years before the creation of Bitcoin.Benefits of Smart ContractsMany proponents of smart contracts point to many kinds of contractual clauses that could be made partially or fully self-executing, self-enforcing, or simply both. Conversely, smart contracts can lead to a situation where bugs or including security holes are visible to all yet may not be quickly fixed.The fundamental goal of smart contracts is to provide additional layers of security that are superior to traditional contract law. In doing so, this reduces other transaction costs associated with contracting. Smart contracts appear most prevalently in the cryptocurrency space, having implemented countless instances of smart contracts.
A smart contract is a piece of software that automatically executes a pre-determined set of actions when a certain set of criteria or met. One of the key tenets of smart contracts is their ability to perform credible transactions without third parties and are self-executing, with their conditions written into the lines of code that form themAdditionally, these transactions are both trackable and irreversible. For example, a smart contract could be used to give royalty payouts to a musical artist each time a song is played on the radio. The contract detects when the song is played, and then automatically sends a payout to the artist or artist. All parties involved in a smart contract must agree to the terms of the contract before it can be executed. They must also consent to any changes made to the contract. Transactions made through a smart contract are traceable and irreversible.Smart contracts were first proposed in 1994 by American computer Scientist Nick Szabo. Szabo created a digital currency called “Bit Gold” in 1998, over 10 years before the creation of Bitcoin.Benefits of Smart ContractsMany proponents of smart contracts point to many kinds of contractual clauses that could be made partially or fully self-executing, self-enforcing, or simply both. Conversely, smart contracts can lead to a situation where bugs or including security holes are visible to all yet may not be quickly fixed.The fundamental goal of smart contracts is to provide additional layers of security that are superior to traditional contract law. In doing so, this reduces other transaction costs associated with contracting. Smart contracts appear most prevalently in the cryptocurrency space, having implemented countless instances of smart contracts.
Read this Term to allow the original owners of the funds, which had been taken away, to retrieve them in the form of DAO tokens.
Soft Forks
Conversely, soft forks only require a majority of nodes or miners to change to the new rules, as a soft fork is backward compatible. In order to be backward compatible, new rules must not conflict with old rules, so nodes can maintain their current version.
Soft forks allow rules to be integrated into the chain without forcing all node holders to upgrade, such as decreasing the block size of the chain, which was successfully implemented via soft fork by ‘SegWit’ which we will touch on shortly.
As Soft Forks keep everything on one chain, there is no ‘double spend’ risk as there is in hard forks, as holders of a coin or token only have access to it on a singular chain.
The main danger to soft-forks, although seen as easier to execute, is the risk of malicious actors tricking miners into validating rules which go against the blockchain for their advantage. Hard forks limit this risk as they are not backward-compatible, which is why miners prefer hard over soft forks.
Examples of Soft Forks
The SegWit Soft Fork
In August 2017, the Segregated Witness protocol soft fork occurred on the Bitcoin chain, implemented to increase the block size limit and increase the transaction speed of the chain.
As seen before, although SegWit was a soft fork, it sparked a few miners who did not like the new protocol to push for a hard fork, creating Bitcoin Cash.
Why Are Forks So Important?
Forks are vital to update a decentralized blockchain where there is no top-down centralized authority available to make changes.
Conclusion
Although Hard and Soft forks can be nervous times for those involved with a cryptocurrency and especially difficult for node operators or miners, forks are inevitable processes in maintaining the decentralization and security of a blockchain.
Soft and Hard forks will continue to occur with major cryptocurrency blockchains like Bitcoin and Ethereum to maintain their security and keep the network upgrading for years to come.
When dealing with decentralized technology, there is often much more than meets the eye. Peeling back the layers of blockchain technology exposes the dense underlayers of the blockchain and cryptocurrency world where immensely complex moving parts are occurring to make sure the decentralized blockchains remain secure and trustworthy, free from a centralized authority.
Unlike centralized systems, blockchains cannot call top-down maintenance to implement changes as in a regular system, the power is centralized and changes are easy to make. Blockchains, on the other hand, are composed of nodes running from all across the world, with no singular point of command or failure.
Due to this, blockchains can be decentralized, but also require forking in order for changes to be made to the blockchain
Blockchain
Blockchain comprises a digital network of blocks with a comprehensive ledger of transactions made in a cryptocurrency such as Bitcoin or other altcoins.One of the signature features of blockchain is that it is maintained across more than one computer. The ledger can be public or private (permissioned.) In this sense, blockchain is immune to the manipulation of data making it not only open but verifiable. Because a blockchain is stored across a network of computers, it is very difficult to tamper with. The Evolution of BlockchainBlockchain was originally invented by an individual or group of people under the name of Satoshi Nakamoto in 2008. The purpose of blockchain was originally to serve as the public transaction ledger of Bitcoin, the world’s first cryptocurrency.In particular, bundles of transaction data, called “blocks”, are added to the ledger in a chronological fashion, forming a “chain.” These blocks include things like date, time, dollar amount, and (in some cases) the public addresses of the sender and the receiver.The computers responsible for upholding a blockchain network are called “nodes.” These nodes carry out the duties necessary to confirm the transactions and add them to the ledger. In exchange for their work, the nodes receive rewards in the form of crypto tokens.By storing data via a peer-to-peer network (P2P), blockchain controls for a wide range of risks that are traditionally inherent with data being held centrally.Of note, P2P blockchain networks lack centralized points of vulnerability. Consequently, hackers cannot exploit these networks via normalized means nor does the network possess a central failure point.In order to hack or alter a blockchain’s ledger, more than half of the nodes must be compromised. Looking ahead, blockchain technology is an area of extensive research across multiple industries, including financial services and payments, among others.
Blockchain comprises a digital network of blocks with a comprehensive ledger of transactions made in a cryptocurrency such as Bitcoin or other altcoins.One of the signature features of blockchain is that it is maintained across more than one computer. The ledger can be public or private (permissioned.) In this sense, blockchain is immune to the manipulation of data making it not only open but verifiable. Because a blockchain is stored across a network of computers, it is very difficult to tamper with. The Evolution of BlockchainBlockchain was originally invented by an individual or group of people under the name of Satoshi Nakamoto in 2008. The purpose of blockchain was originally to serve as the public transaction ledger of Bitcoin, the world’s first cryptocurrency.In particular, bundles of transaction data, called “blocks”, are added to the ledger in a chronological fashion, forming a “chain.” These blocks include things like date, time, dollar amount, and (in some cases) the public addresses of the sender and the receiver.The computers responsible for upholding a blockchain network are called “nodes.” These nodes carry out the duties necessary to confirm the transactions and add them to the ledger. In exchange for their work, the nodes receive rewards in the form of crypto tokens.By storing data via a peer-to-peer network (P2P), blockchain controls for a wide range of risks that are traditionally inherent with data being held centrally.Of note, P2P blockchain networks lack centralized points of vulnerability. Consequently, hackers cannot exploit these networks via normalized means nor does the network possess a central failure point.In order to hack or alter a blockchain’s ledger, more than half of the nodes must be compromised. Looking ahead, blockchain technology is an area of extensive research across multiple industries, including financial services and payments, among others.
Read this Term such as new rules, bug fixes or soft additions. Let’s find out how soft and hard forks work to keep blockchains updated but secure and decentralized.
What Are Forks?
When working surrounding blockchains, a fork is considered to occur when a blockchain creates two different potential paths forward. Miners, who must all constantly agree on the rules of the blockchain will also all have to agree on rule changes.
To change the rules, you need to fork the blockchain, which demonstrates a change in rules or protocol. Forks often bring to life different cryptocurrencies with similar names, such as Bitcoin Cash and Ethereum Classic as new chains are created.
Not all forks are intentionally done, and accidental forks can occur when two miners almost mine the same block in the blockchain at the same time. Resolving the issue of unintentional forks will happen automatically, as one chain continues to add blocks, the other block will be abandoned, considered an orphan block.
Hard Vs Soft Forks
Both types of forks occur when a cryptocurrency’s code is altered with the largest difference between hard and soft forks being their desired outcome.
Both hard and soft forks are necessary tools for the longevity of a blockchain, both being used for different purposes to make changes in a decentralized system. Without forks, a centralized body with top-down control would be required to make changes in the blockchain.
Hard Forks
Hard Forks in blockchains occur when a permanent altar of code occurs in the chain, and some of the existing nodes refuse to accept previous versions of the blockchain. A hard fork needs all current nodes to upgrade to the newest version. In turn, the new version of the blockchain becomes completely different from the previous and is backward-incompatible.
The Hard fork may have been needed to drastically change a blockchains protocol or to fix a bug. Most of the time, the nodes which are still existing on the old chain will soon realize that their blockchain is outdated and is not being updated, leading them to upgrade to the newest version of the chain.
A hard fork has several other reasons for happening, such as reserving transactions which was demonstrated during Ethereum’s hack in 2016, to add new functions to the chain or address any security risks the current version poses to the chain.
Hard Forks, given by the name, are much harder than soft forks. They create a divide between the two sides and often harshly divide communities in half creating two sub-communities.
Examples of Hard Forks
The Bitcoin Cash Hard Fork
After the implementation of SegWit (Segregated Witness), a famous Bitcoin Hard Fork occurred, which resulted in Bitcoin Cash. A few Bitcoin developers did not like the new changes that SegWit brought upon the cryptocurrency and decided to Hard Fork the blockchain, resulting in Bitcoin Cash appearing in late 2017.
Bitcoin Cash is a successful cryptocurrency in its own right, currently sitting at rank 24, and never adopting SegWit.
There have been multiple other Bitcoin Hard Forks, resulting in cryptocurrencies such as Bitcoin Gold, Classic and Unlimited.
Ethereum’s Dilemma
In July 2016, Ethereum’s blockchain executed a hard-fork in order to return over $40m of Ethereum from a hacker’s address to a new address.
The Hard Fork allowed the funds to be moved via a new smart contract
Smart Contract
A smart contract is a piece of software that automatically executes a pre-determined set of actions when a certain set of criteria or met. One of the key tenets of smart contracts is their ability to perform credible transactions without third parties and are self-executing, with their conditions written into the lines of code that form themAdditionally, these transactions are both trackable and irreversible. For example, a smart contract could be used to give royalty payouts to a musical artist each time a song is played on the radio. The contract detects when the song is played, and then automatically sends a payout to the artist or artist. All parties involved in a smart contract must agree to the terms of the contract before it can be executed. They must also consent to any changes made to the contract. Transactions made through a smart contract are traceable and irreversible.Smart contracts were first proposed in 1994 by American computer Scientist Nick Szabo. Szabo created a digital currency called “Bit Gold” in 1998, over 10 years before the creation of Bitcoin.Benefits of Smart ContractsMany proponents of smart contracts point to many kinds of contractual clauses that could be made partially or fully self-executing, self-enforcing, or simply both. Conversely, smart contracts can lead to a situation where bugs or including security holes are visible to all yet may not be quickly fixed.The fundamental goal of smart contracts is to provide additional layers of security that are superior to traditional contract law. In doing so, this reduces other transaction costs associated with contracting. Smart contracts appear most prevalently in the cryptocurrency space, having implemented countless instances of smart contracts.
A smart contract is a piece of software that automatically executes a pre-determined set of actions when a certain set of criteria or met. One of the key tenets of smart contracts is their ability to perform credible transactions without third parties and are self-executing, with their conditions written into the lines of code that form themAdditionally, these transactions are both trackable and irreversible. For example, a smart contract could be used to give royalty payouts to a musical artist each time a song is played on the radio. The contract detects when the song is played, and then automatically sends a payout to the artist or artist. All parties involved in a smart contract must agree to the terms of the contract before it can be executed. They must also consent to any changes made to the contract. Transactions made through a smart contract are traceable and irreversible.Smart contracts were first proposed in 1994 by American computer Scientist Nick Szabo. Szabo created a digital currency called “Bit Gold” in 1998, over 10 years before the creation of Bitcoin.Benefits of Smart ContractsMany proponents of smart contracts point to many kinds of contractual clauses that could be made partially or fully self-executing, self-enforcing, or simply both. Conversely, smart contracts can lead to a situation where bugs or including security holes are visible to all yet may not be quickly fixed.The fundamental goal of smart contracts is to provide additional layers of security that are superior to traditional contract law. In doing so, this reduces other transaction costs associated with contracting. Smart contracts appear most prevalently in the cryptocurrency space, having implemented countless instances of smart contracts.
Read this Term to allow the original owners of the funds, which had been taken away, to retrieve them in the form of DAO tokens.
Soft Forks
Conversely, soft forks only require a majority of nodes or miners to change to the new rules, as a soft fork is backward compatible. In order to be backward compatible, new rules must not conflict with old rules, so nodes can maintain their current version.
Soft forks allow rules to be integrated into the chain without forcing all node holders to upgrade, such as decreasing the block size of the chain, which was successfully implemented via soft fork by ‘SegWit’ which we will touch on shortly.
As Soft Forks keep everything on one chain, there is no ‘double spend’ risk as there is in hard forks, as holders of a coin or token only have access to it on a singular chain.
The main danger to soft-forks, although seen as easier to execute, is the risk of malicious actors tricking miners into validating rules which go against the blockchain for their advantage. Hard forks limit this risk as they are not backward-compatible, which is why miners prefer hard over soft forks.
Examples of Soft Forks
The SegWit Soft Fork
In August 2017, the Segregated Witness protocol soft fork occurred on the Bitcoin chain, implemented to increase the block size limit and increase the transaction speed of the chain.
As seen before, although SegWit was a soft fork, it sparked a few miners who did not like the new protocol to push for a hard fork, creating Bitcoin Cash.
Why Are Forks So Important?
Forks are vital to update a decentralized blockchain where there is no top-down centralized authority available to make changes.
Conclusion
Although Hard and Soft forks can be nervous times for those involved with a cryptocurrency and especially difficult for node operators or miners, forks are inevitable processes in maintaining the decentralization and security of a blockchain.
Soft and Hard forks will continue to occur with major cryptocurrency blockchains like Bitcoin and Ethereum to maintain their security and keep the network upgrading for years to come.
Source: https://www.financemagnates.com/cryptocurrency/education-centre/soft-fork-vs-hard-fork-what-are-the-differences/