It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
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()