A is the current projection.
B is the fixed subsidy projection.
As you can see from the images, there is only slight inflation at this time.
Final block subsidy: 0.117061151915
Inflation starting at year 11: 0.335774683775%
Inflation starting at year 20: 0.325925311615%
import math
M = math.pow(2, 64) - 1
total_supply = 0
YEARS = 20
f = open('monero_calculator.txt', 'w')
f.write('Year\tCoin supply\tInflation\n')
# Unlimited subsidy decreases (ByteCoin code)
for i in range (1,YEARS+1):
beginning_supply = total_supply
for j in range (1,525601): # 525600 blocks/year
block_subsidy = (M - total_supply) / math.pow(2, 20) # Atomic
total_supply += block_subsidy
inflation = 0
if beginning_supply == 0:
pass # Infinite for year 1
else:
inflation = total_supply / beginning_supply
total_supply_in_monero = total_supply / math.pow(10, 12) # Moneros
inflation_in_percent = (inflation * 100) - 100
f.write(str(i) + '\t' + str(total_supply_in_monero) + '\t' + str(inflation_in_percent) + '\n')
f.write('\n')
total_supply = 0
last_block_subsidy = 0 # Usde to get the block_subsidy for year end of year 10
# Subsidy fixing after 10 years
for i in range (1,YEARS+1):
beginning_supply = total_supply
for j in range (1,525601): # 525600 blocks/year
if (i <= 10):
block_subsidy = (M - total_supply) / math.pow(2, 20) # Atomic
last_block_subsidy = block_subsidy
else:
block_subsidy = last_block_subsidy
total_supply += block_subsidy
inflation = 0
if beginning_supply == 0:
pass # Infinite for year 1
else:
inflation = total_supply / beginning_supply
total_supply_in_monero = total_supply / math.pow(10, 12) # Moneros
inflation_in_percent = (inflation * 100) - 100
f.write(str(i) + '\t' + str(total_supply_in_monero) + '\t' + str(inflation_in_percent) + '\n')
f.write('\n')
f.write("Final block subsidy at year 10 end: " + str(last_block_subsidy / math.pow(10, 12)))
f.close()
Thank you for the charts!
Inflation has been pretty high so far but seems to be slowing down now...