@@ -192,6 +192,9 @@ class CMainParams : public CChainParams
192192 consensus.height_start_ZC_SerialsV2 = 1153160 ;
193193 consensus.height_ZC_RecalcAccumulators = 908000 ;
194194
195+ // Zerocoin-related params
196+ consensus.ZC_WrappedSerialsSupply = 4131563 * COIN; // zerocoin supply at height_last_ZC_WrappedSerials
197+
195198 /* *
196199 * The message start string is designed to be unlikely to occur in normal data.
197200 * The characters are rarely used upper ASCII, not valid as UTF-8, and produce
@@ -225,9 +228,6 @@ class CMainParams : public CChainParams
225228 nEnforceNewSporkKey = 1566860400 ; // !> Sporks signed after Monday, August 26, 2019 11:00:00 PM GMT must use the new spork key
226229 nRejectOldSporkKey = 1569538800 ; // !> Fully reject old spork key after Thursday, September 26, 2019 11:00:00 PM GMT
227230
228- // Fake Serial Attack
229- nSupplyBeforeFakeSerial = 4131563 * COIN; // zerocoin supply at height_last_ZC_WrappedSerials
230-
231231 // Note that of those with the service bits flag, most only support a subset of possible options
232232 vSeeds.push_back (CDNSSeedData (" fuzzbawls.pw" , " pivx.seed.fuzzbawls.pw" )); // Primary DNS Seeder from Fuzzbawls
233233 vSeeds.push_back (CDNSSeedData (" fuzzbawls.pw" , " pivx.seed2.fuzzbawls.pw" )); // Secondary DNS Seeder from Fuzzbawls
@@ -329,6 +329,9 @@ class CTestNetParams : public CMainParams
329329 consensus.height_start_ZC_SerialsV2 = 444020 ;
330330 consensus.height_ZC_RecalcAccumulators = 999999999 ;
331331
332+ // Zerocoin-related params
333+ consensus.ZC_WrappedSerialsSupply = 0 ; // WrappedSerials only on main net
334+
332335 /* *
333336 * The message start string is designed to be unlikely to occur in normal data.
334337 * The characters are rarely used upper ASCII, not valid as UTF-8, and produce
@@ -359,9 +362,6 @@ class CTestNetParams : public CMainParams
359362 nEnforceNewSporkKey = 1566860400 ; // !> Sporks signed after Monday, August 26, 2019 11:00:00 PM GMT must use the new spork key
360363 nRejectOldSporkKey = 1569538800 ; // !> Reject old spork key after Thursday, September 26, 2019 11:00:00 PM GMT
361364
362- // Fake Serial Attack
363- nSupplyBeforeFakeSerial = 0 ;
364-
365365 vFixedSeeds.clear ();
366366 vSeeds.clear ();
367367 vSeeds.push_back (CDNSSeedData (" fuzzbawls.pw" , " pivx-testnet.seed.fuzzbawls.pw" ));
@@ -447,6 +447,9 @@ class CRegTestParams : public CTestNetParams
447447 consensus.height_start_ZC_SerialsV2 = 300 ;
448448 consensus.height_ZC_RecalcAccumulators = 999999999 ;
449449
450+ // Zerocoin-related params
451+ consensus.ZC_WrappedSerialsSupply = 0 ; // WrappedSerials only on main net
452+
450453
451454 /* *
452455 * The message start string is designed to be unlikely to occur in normal data.
0 commit comments