aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-05-20 20:46:53 +0200
committerGitHub <[email protected]>2021-05-20 20:46:53 +0200
commitacca0f3a8788f9b1d86537066ad9784eed83e228 (patch)
tree093ec18c32537d7129af2ea2b728c37fd7ea4f52 /src
parentMerge pull request #1780 from rnicoll/1.21-block-interval (diff)
parentUpdate max money to 10 billion (diff)
downloaddiscoin-acca0f3a8788f9b1d86537066ad9784eed83e228.tar.xz
discoin-acca0f3a8788f9b1d86537066ad9784eed83e228.zip
Merge pull request #1927 from rnicoll/1.21-max-money
Update max money to 10 billion
Diffstat (limited to 'src')
-rw-r--r--src/amount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h
index 47968e80b..6c69a7be6 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -22,7 +22,7 @@ static const CAmount COIN = 100000000;
* 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 = 10000000000 * COIN; // Dogecoin: total supply is not finite, but we constrain maximum single transaction to 10,000,000,000
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
#endif // BITCOIN_AMOUNT_H