Q1. What is the difference between a softfork and a hardfork?
A. In blockchain, a ‘fork’ is an update of the protocol or rule set that governs processing of blocks. A ‘hard’ fork makes previously invalid blocks valid under the update, expanding the protocol and causing a split in the blockchain, whereas a ‘soft’ fork makes previously valid blocks invalid, contracting the protocol and retaining the blockchain by forcing all nodes to eventually accept the new rule set.
Q2. What are some of the reasons why you would do a hardfork?
A. Although causing a definite split, a hardfork update is clear in the sense that the people involved know whether they are part of the old or new protocol, giving them a ‘democratic’ choice of blockchain. This can be preferable to a softfork, which can create confusion where blocks are able to be validated by nodes that might not understand the new protocol and which may not have chosen it into the first place.
Q3. What are some of the risks with performing a hardfork?
A. Hardforks split the blockchain, damaging the community built around it. The hash power is also reduced, impairing the security of the network. It also creates a new cryptocurrency, which could be beneficial, but carries its own questions of utility.