Skip to content

Commit

Permalink
Merge pull request #15 from sandegodev/fix
Browse files Browse the repository at this point in the history
fix to prevent overflow warning
  • Loading branch information
“sandegodev” authored and “sandegodev” committed May 12, 2018
2 parents 5adc4e9 + a9a5dcb commit 318b1fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/clientversion.h
Expand Up @@ -7,8 +7,8 @@

// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_MINOR 1
#define CLIENT_VERSION_REVISION 1
#define CLIENT_VERSION_BUILD 0

// Converts the parameter X to a string after macro replacement on X has been performed.
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Expand Up @@ -47,7 +47,7 @@ static const int64_t MIN_TX_FEE = 10000;
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
static const int64_t MIN_RELAY_TX_FEE = MIN_TX_FEE;
/** No amount larger than this (in satoshi) is valid */
static const int64_t MAX_MONEY = 10000000000000 * COIN;
static const int64_t MAX_MONEY = 100000000ULL * 100000 * COIN;
inline bool MoneyRange(int64_t nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp. */
static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC
Expand Down

0 comments on commit 318b1fa

Please sign in to comment.