15 static const CAmount COIN = 100000000;
16 static const CAmount CENT = 1000000;
27 static const CAmount MAX_MONEY = 21000000000 * COIN;
28 inline bool MoneyRange(
const CAmount& nValue) {
return (nValue >= 0 && nValue <= MAX_MONEY); }
30 #endif // RAVEN_AMOUNT_H bool MoneyRange(const CAmount &nValue)
int64_t CAmount
Amount in corbies (Can be negative)