From 79b60cb248ef3383329c876430d56bd900fbdef1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Apr 2026 06:07:47 +0000 Subject: [PATCH] Preserve mainnet money cap without overflow --- src/chainparams.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index f563b8a6..f60070b4 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -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 **/ //