People always say "bitcoin has a hard coded, guaranteed limit of 21 million coins".
However, I think the limit of 21 million is subject to the consensus of the users and miners?
So if a consensus is formed to allow more than 21 million Bitcoins to be generated, then it will be so, right?
Actually everything in Bitcoin can be changed, as long as there is the consensus for it.
So, there is actually no mathematical limit to the number of coins. It's just that the issuance of coins is not subject to a central authority, but requires a supermajority consensus.
You could possibly propose any change through BIP and if the majority of the network accepts it considering it is beneficial for Bitcoin network,they will.make changes in the code on GitHub.But the miners will never make the 21 million limit to increase because it's the main algorithm setup by Sathoshi.If they had to increase the limit they need to make changes in overall mining algorithms and block intervals.The other reasons is that the prices are increasing due to limited supply of 21 million and miners will not be willing to decrease their profit shares in the long run as increase in supply will lead to price falls.The bugs in Bitcoin had been removed but no huge changes are made in the open source code for Bitcoin.The 51% miners will need to accept the proposal which is impossible in this case.