But about the max supply, I must admit gjhiggins and notsofast had me doubting for a while, so I checked with other devs just to make sure and you know what ? The max money is well... the max money.
@Graham : Wrong. You're just full of fud!
Uh-huh, you checked with “other devs”. And then decided that an insulting tone would be appropriate. Not the best of calls.
Can I recommend that you develop a little more maturity
and extend your skillset, then you will more readily avoid making a public spectacle of yourself.
In case your ill-founded and incorrect claim confuses others, I'll make it clear ...
Try
inspecting the source code - as a self-styled “dev”, you should at least be capable of reading C++ for meaning ...
I recursively grepped the code for case-sensitive instances of the character string MAX_MONEY. Results showed two (2) header declarations and three (3) instances of use in the main codebase ...
$ grep -r -n MAX_MONEY horsepowercoin
horsepowercoin/src/main.h:55:static const int64 MAX_MONEY = 2900000 * COIN;
horsepowercoin/src/main.h:56:inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
horsepowercoin/src/main.cpp:573: if (txout.nValue > MAX_MONEY)
horsepowercoin/src/main.cpp:636: return MAX_MONEY;
horsepowercoin/src/main.cpp:641: nMinFee = MAX_MONEY;
horsepowercoin/src/test/data/tx_valid.json:54:["MAX_MONEY output"],
horsepowercoin/src/test/data/tx_valid.json:58:["MAX_MONEY output + 0 output"],
horsepowercoin/src/test/data/tx_invalid.json:39:["MAX_MONEY + 1 output"],
horsepowercoin/src/test/data/tx_invalid.json:43:["MAX_MONEY output + 1 output"],
I've edited the results into URLs so that you (and everyone else) can easily verify that MAX _MONEY is only used to limit the amount of coins in any single
transaction/fee https://github.com/HorsePowerCoin/HorsePowerCoin/blob/master/src/main.cpp#L573: if (txout.nValue > MAX_MONEY)
https://github.com/HorsePowerCoin/HorsePowerCoin/blob/master/src/main.cpp#L636: return MAX_MONEY;
https://github.com/HorsePowerCoin/HorsePowerCoin/blob/master/src/main.cpp#L641: nMinFee = MAX_MONEY;
These “other devs” of whom you write --- are they perhaps school classmates of yours? The reason I ask is, like yourself, they also appear to be refreshingly uncontaminated by knowledge.
Cheers
Graham