Skip to content

Commit 7d9ef84

Browse files
committed
Cleanup: Remove nPoolMaxTransactions and height_ZC_RecalcAccumulators no longer needed params.
1 parent c3028cc commit 7d9ef84

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/chainparams.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class CMainParams : public CChainParams
147147
consensus.nFutureTimeDriftPoS = 180;
148148
consensus.nMaxMoneyOut = 21000000 * COIN;
149149
consensus.nMNCollateralAmt = 10000 * COIN;
150-
consensus.nPoolMaxTransactions = 3;
151150
consensus.nProposalEstablishmentTime = 60 * 60 * 24; // must be at least a day old to make it into a budget
152151
consensus.nStakeMinAge = 60 * 60;
153152
consensus.nStakeMinDepth = 600;
@@ -167,7 +166,6 @@ class CMainParams : public CChainParams
167166
consensus.height_last_invalid_UTXO = 894538;
168167
consensus.height_last_ZC_AccumCheckpoint = 1686240;
169168
consensus.height_last_ZC_WrappedSerials = 1686229;
170-
consensus.height_ZC_RecalcAccumulators = 908000;
171169

172170
// validation by-pass
173171
consensus.nPivxBadBlockTime = 1471401614; // Skip nBit validation of Block 259201 per PR #915
@@ -292,7 +290,6 @@ class CTestNetParams : public CChainParams
292290
consensus.nFutureTimeDriftPoS = 180;
293291
consensus.nMaxMoneyOut = 21000000 * COIN;
294292
consensus.nMNCollateralAmt = 10000 * COIN;
295-
consensus.nPoolMaxTransactions = 3;
296293
consensus.nProposalEstablishmentTime = 60 * 5; // at least 5 min old to make it into a budget
297294
consensus.nStakeMinAge = 60 * 60;
298295
consensus.nStakeMinDepth = 100;
@@ -312,7 +309,6 @@ class CTestNetParams : public CChainParams
312309
consensus.height_last_invalid_UTXO = -1;
313310
consensus.height_last_ZC_AccumCheckpoint = -1;
314311
consensus.height_last_ZC_WrappedSerials = -1;
315-
consensus.height_ZC_RecalcAccumulators = 999999999;
316312
consensus.ZC_HeightStart = 0;
317313

318314
// Zerocoin-related params
@@ -419,7 +415,6 @@ class CRegTestParams : public CChainParams
419415
consensus.nFutureTimeDriftPoS = 180;
420416
consensus.nMaxMoneyOut = 43199500 * COIN;
421417
consensus.nMNCollateralAmt = 100 * COIN;
422-
consensus.nPoolMaxTransactions = 2;
423418
consensus.nProposalEstablishmentTime = 60 * 5; // at least 5 min old to make it into a budget
424419
consensus.nStakeMinAge = 0;
425420
consensus.nStakeMinDepth = 2;
@@ -443,7 +438,6 @@ class CRegTestParams : public CChainParams
443438
consensus.height_last_invalid_UTXO = -1;
444439
consensus.height_last_ZC_AccumCheckpoint = 310; // no checkpoints on regtest
445440
consensus.height_last_ZC_WrappedSerials = -1;
446-
consensus.height_ZC_RecalcAccumulators = 999999999;
447441

448442
// Zerocoin-related params
449443
consensus.ZC_Modulus = "25195908475657893494027183240048398571429282126204032027777137836043662020707595556264018525880784"

src/consensus/params.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ struct Params {
101101
int nFutureTimeDriftPoS;
102102
CAmount nMaxMoneyOut;
103103
CAmount nMNCollateralAmt;
104-
int nPoolMaxTransactions;
105104
int64_t nProposalEstablishmentTime;
106105
int nStakeMinAge;
107106
int nStakeMinDepth;
@@ -121,7 +120,6 @@ struct Params {
121120
int height_last_invalid_UTXO;
122121
int height_last_ZC_AccumCheckpoint;
123122
int height_last_ZC_WrappedSerials;
124-
int height_ZC_RecalcAccumulators;
125123

126124
// validation by-pass
127125
int64_t nPivxBadBlockTime;

0 commit comments

Comments
 (0)