thanks for this very interesting reply from DannyHamilton.
You're welcome.
Did you include the cost of mining?
No, I did not, because the question I was answering was about fees, not mining costs.
is the cost of mining stable or does it increase over time or over difficulty or over else?
The main components in the cost of mining are:
- The cost to acquire the mining equipment
- The cost to store and maintain the mining equipment
- The cost of electricity to run the mining equipment
- The cost to cool the mining equipment
- The cost to maintain a good internet connection to peers
If any of these costs change, then the cost of mining changes. For example, if the cost of your electricity increases, then your cost for mining increases. If you need to replace your equipment, then there are costs to purchase new equipment.
because if cost of mining increase, transaction fee will increase, isn't it?
Probably not. If the cost of mining increases, then some miners will find it is no longer profitable to mine and will stop mining. This will increase the revenue that the remaining miners receive. When the remaining miners revenue increases enough to cover the costs of mining, then the remaining miners won't stop anymore and an equilibrium will have been reached.
A miner can't force all the other miners to reject low fees. As long as the revenue can cover the risk of orphaning, and the block isn't full, miners will need to accept the transactions or else their competitors will make higher profits and drive them out of business. So, no matter how high the mining costs are, the choice for the miner is to either confirm every revenue generating transaction or to just shut off their equipment.