I just clonned bitcoin and created a altcoin, the altcoin it is working , but the coin ammount seams not working well.
total of coins I chosed was: 1000
I have changed the amount of coins to be mined, to be 1000 but looks did not work, I have already 8000 coins mined, can someone explain why it is not working?
main.h
static const int64 MAX_MONEY = 1000 * COIN; //coin limit
someone answer this but i kinda did not understand:
static const int64 MAX_MONEY = 1000 * COIN; //coin limit
Maximum amount (in satoshi) allowed anywhere (in the whole network). COIN is equal to 10^8 This is NOT the total amount of coins which your software is going to produce.

I could find litecoin uses:
static const int64 MAX_MONEY = 84000000 * COIN;
potcoin uses:
static const int64 MAX_MONEY = 420000000 * COIN;
feathercoin uses:
static const CAmount MAX_MONEY = 336000000 * COIN;
why when I changed my coin did not work?
I found some links on google talking about it but I still not understand well how to fix the coin limit:
https://bitcointalk.org/index.php?topic=331069.0https://bitcoin.stackexchange.com/questions/36612/why-doesnt-changing-max-money-change-the-maximum-number-of-coinshow the calculation I need to do?
can someone explain me that.
thank you.