From 2d2e13e102b18de64521cfff8c77b14203baa9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verret?= Date: Thu, 28 Dec 2017 17:26:16 -0500 Subject: [PATCH] Increase the max amount of coins for the premine Originally, the max amount of coins was 21000000. The premine is 2000000. --- src/amount.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/amount.h b/src/amount.h index 2bd367cba..29557de87 100644 --- a/src/amount.h +++ b/src/amount.h @@ -23,7 +23,9 @@ static const CAmount CENT = 1000000; * 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; + +// 21000000 + 2000000 (Premine) +static const CAmount MAX_MONEY = 23000000 * COIN; inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } #endif // BITCOIN_AMOUNT_H