1. What is the difference between a softfork and a hardfork?
A softfork is a fork that results from a rule change in the btc network that makes previously valid blocks invalid.
A hardfork is a fork of the blockchain that results from a rule change in the btc network that makes previously invalid blocks valid.
2. What are some of the reasons why you would do a hardfork?
A hardfork is a more democratic process whereby a majority of the nodes will choose to start mining on the forked chain instead of the original chain. Therefore, a hardfork would be desired if a majority of the network wants an update to occur.
3. What are some of the risks with performing a hardfork?
When a hardfork occurs, an inevitability is that hash power is reduced. Some miners will start to mine on the forked chain hence reducing hash power and reducing network security.
I think the reason why reduced hash power decreases network security is due to the fact that less blocks are now being added per unit time and it opens the door to a potential bas actor to change the transactions in a block and quickly re-mine all the hashed links including those of the newly added blocks because they are being added slowly from before.
The paragraph directly above I am unsure about, hence the reason why I started it with āI thinkā so if someone can confirm it that would be great! Thank you!