1. What is the difference between a softfork and a hardfork?
Soft fork updates makes previous valid blocks invalid. It is a contraction rule set. Hard fork updates makes previously invalid blocks valid. It is an expansion rule set. In soft fork updates, if the majority of the network (>50%) updates a fork will not be created while in hard fork updates for this to happen all the network (100%) must update. Hard forks often splits the chain and the fork will continue with the updated version and the previous version as two different chains.
2. What are some of the reasons why you would do a hardfork?
A reason to do a hard fork is to increase block size. Where previous blocks which where bigger in size and weren’t accepted by the blockchain, now with the new rule set can be validated. Other reasons can be because members of the community propose a change in the protocol and the rule set and this is implemented.
3. What are some of the risks with performing a hardfork?
Mainly, when a hard fork occurs, the chain splits meaning the hash power splits and this lowers the security because the network for each chain is smaller. There are less nodes to validate the PoW.