diff options
| author | Ross Nicoll <[email protected]> | 2021-05-14 13:54:24 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-05-20 18:01:37 +0100 |
| commit | af0343966841680ef1ebb9450997c8a571c90c72 (patch) | |
| tree | 093ec18c32537d7129af2ea2b728c37fd7ea4f52 /src | |
| parent | Merge pull request #1780 from rnicoll/1.21-block-interval (diff) | |
| download | discoin-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.h | 2 |
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 |