- What is the difference between a softfork and a hardfork?
A softfork update is a contraction of the rules, the miners follow, where previous valid blocks are suddenly invalid. Contrariwise a hardfork update is an expansion of this rule set, which as a result makes previous invalid blocks valid.
- What are some of the reasons why you would do a hardfork?
The miners which haven´t updated, then create an own chain (own coin e.g. Bitcoin Cash), by not accepting and ignoring certain added blocks, which apply to the new rule - set but don´t apply to the old one. Thus, a hardfork is the democratic solution, due to miners being able to choose which consensus rule set to follow.
- What are some of the risks with performing a hardfork?
It´s a risk that the chain splits, therefore splitting the miners, resulting in decrease of security of the blockchain, due to the hash power being divided. In consequence the newly created chain is significantly more vulnerable to a 51% attack, due to there being way less miners than in the original chain.