Preserve mainnet money cap without overflow

This commit is contained in:
root
2026-04-28 06:07:47 +00:00
parent bd3dd170d2
commit 79b60cb248
+3 -1
View File
@@ -129,7 +129,9 @@ public:
nTargetSpacing = 10 * 60;
nMaturity = 20;
nMasternodeCountDrift = 20;
nMaxMoneyOut = 999999999999 * COIN;
// Preserve the historical mainnet cap produced by the old overflowing
// expression `999999999999 * COIN` on 64-bit builds.
nMaxMoneyOut = 7766279631352241920LL;
/** Height or Time Based Activations **/
//