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; static const CAmount CENT = 1000000;
/** No amount larger than this (in satoshi) is valid */ /** 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); } inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Type-safe wrapper class to for fee rates /** Type-safe wrapper class to for fee rates

View File

@@ -1449,6 +1449,8 @@ int32_t komodo_whoami(char *pubkeystr,int32_t height)
return(notaryid); return(notaryid);
} }
int64_t MAX_MONEY = 200000000 * COIN;
void komodo_args() void komodo_args()
{ {
extern int64_t MAX_MONEY; extern int64_t MAX_MONEY;