diff options
| author | Patrick Lodder <[email protected]> | 2021-05-20 20:46:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-20 20:46:53 +0200 |
| commit | acca0f3a8788f9b1d86537066ad9784eed83e228 (patch) | |
| tree | 093ec18c32537d7129af2ea2b728c37fd7ea4f52 /src | |
| parent | Merge pull request #1780 from rnicoll/1.21-block-interval (diff) | |
| parent | Update max money to 10 billion (diff) | |
| download | discoin-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.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 |