This commit is contained in:
jl777
2017-01-29 22:59:31 +02:00
parent 2fef5edbc4
commit ba9088ec69
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ static const CAmount COIN = 100000000;
static const CAmount CENT = 1000000;
/** No amount larger than this (in satoshi) is valid */
CAmount MAX_MONEY = 200000000 * COIN;
extern CAmount MAX_MONEY;
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Type-safe wrapper class to for fee rates