The nos do look fancy.
9 is the lucky number for most of the people -
http://www.travelchinaguide.com/intro/lucky-number9.htmFirst of all, it gets more media attention
i did some calculations on those and i see we'll never reach 1billion coins.
I have re-adjusted the block size when the block size after the 6th iteration (i.e., when it falls below 15). It will stay constant at block size 9. Hey one more 9 here
See the below statistics.
does the first 9 months start from day1 or day5? how blocks did you calculate for nine months and how many for a day?
It starts from day1 onwards. (86400/99 = 872) blocks per day. See below statistics.
Here is the simple math, without special days.
Calculation for 5.25 years ( 7 periods - each period of 9 months )
Period: 0, Block Reward: 999.00, Coins for this period: 238.02 M, Total coins generated: 238.02 M
Period: 1, Block Reward: 499.50, Coins for this period: 119.01 M, Total coins generated: 357.02 M
Period: 2, Block Reward: 249.75, Coins for this period: 59.50 M, Total coins generated: 416.53 M
Period: 3, Block Reward: 124.88, Coins for this period: 29.75 M, Total coins generated: 446.28 M
Period: 4, Block Reward: 62.44, Coins for this period: 14.88 M, Total coins generated: 461.16 M
Period: 5, Block Reward: 31.22, Coins for this period: 7.44 M, Total coins generated: 468.59 M
Period: 6, Block Reward: 15.61, Coins for this period: 3.72 M, Total coins generated: 472.31 M
Period: 7, Block Reward: 7.80, Coins for this period: 1.86 M, Total coins generated: 474.17 M Period: 8, Block Reward: 3.90, Coins for this period: 0.93 M, Total coins generated: 475.10 M
After period 6 onwards, the block size will be constant of 9. i.e., After 5.25 years there will be constant supply of ~2.86 M coins per year.
/*
* An alt Coins Supply Calculator
*
* @author : Techguy
*
*/
package coins;
public class CoinSupplyCalculator {
public static final float MAX_COINS = 999999999;
public static final float BLOCK_REWARD = 999;
public static final float BLOCK_GEN_TIME_IN_SECS = 99;
public static final float BLOCK_HALVE_IN_DAYS = 273; // 9 months
public static final void main(String args[]) {
float genCoins = 0;
float blockReward = BLOCK_REWARD;
for(float day=0; day < 5000 && genCoins < MAX_COINS; day=day + BLOCK_HALVE_IN_DAYS){
float coinsPerDay = ( 24 * 60 * 60 / BLOCK_GEN_TIME_IN_SECS ) * blockReward;
float coinsPerPeriod = coinsPerDay * BLOCK_HALVE_IN_DAYS;
genCoins = genCoins + coinsPerPeriod;
System.out.format( "Period: %2.0f, Block Reward: %2.2f, Coins for this period: %.2f M, Total coins generated: %.2f M \n", day/BLOCK_HALVE_IN_DAYS, blockReward, coinsPerPeriod / 1000000, genCoins / 1000000);
blockReward = blockReward / 2;
}
}
}