aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-05-14 13:54:24 +0100
committerRoss Nicoll <[email protected]>2021-05-20 18:01:37 +0100
commitaf0343966841680ef1ebb9450997c8a571c90c72 (patch)
tree093ec18c32537d7129af2ea2b728c37fd7ea4f52 /src
parentMerge pull request #1780 from rnicoll/1.21-block-interval (diff)
downloaddiscoin-af0343966841680ef1ebb9450997c8a571c90c72.tar.xz
discoin-af0343966841680ef1ebb9450997c8a571c90c72.zip
Update max money to 10 billion
Update maximum money to 10 billion coins (most you can have in a single transaction).
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