well, still don't understand, if you compare change from 750 to 600 and from 600 to 500 is in the same form, so how the change happened from 750 to 600 but from 600 to 500 doesn't want ?
int64 nSubsidy = 750 * COIN;
if(nHeight == 1)
{
nSubsidy = 40000 * COIN; // less then 0.1% premine
}
else if(nHeight >= 1440)
{
nSubsidy = 600 * COIN;
}
else if(nHeight >= 2880)
{
nSubsidy = 500 * COIN;
}
...........
You can have only one path with a 'if else' statement. It's like you walk into a hallway with 5 doors but you must enter the first one that matches you criteria. So with the first pass it sets the coin to 750 and all of the 'if' condition are false. Once it gets to block 1440 the first else is true and it sets coin to 600 and exits out the door. Then no matter how many more block pass you are always walking into that first door.
very picturesque
now I get it
Thank you !!!