This commit is contained in:
jl777
2017-03-30 05:07:23 +03:00
parent 8645a9b446
commit 0a3a81e076
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,9 @@ static const CAmount CENT = 1000000;
* critical; in unusual circumstances like a(nother) overflow bug that allowed
* for the creation of coins out of thin air modification could lead to a fork.
* */
static const CAmount MAX_MONEY = 21000000 * COIN;
//static const CAmount MAX_MONEY = 21000000 * COIN;
extern int64_t MAX_MONEY;
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Type-safe wrapper class to for fee rates

View File

@@ -1902,7 +1902,6 @@ bool ContextualCheckInputs(const CTransaction& tx, CValidationState &state, cons
return true;
}
bool ContextualCheckInputs(const CTransaction& tx, CValidationState &state, const CCoinsViewCache &inputs, bool fScriptChecks, unsigned int flags, bool cacheStore, const Consensus::Params& consensusParams, std::vector<CScriptCheck> *pvChecks)
/*bool ContextualCheckInputs(const CTransaction& tx, CValidationState &state, const CCoinsViewCache &inputs, bool fScriptChecks, unsigned int flags, bool cacheStore, const Consensus::Params& consensusParams, std::vector<CScriptCheck> *pvChecks)
{