@@ -91,7 +91,8 @@ class CMainParams : public CChainParams {
9191 consensus.nSubsidyHalvingInterval = 210000 ;
9292 consensus.nBudgetPaymentsStartBlock = std::numeric_limits<int >::max ();
9393 consensus.nPoSStartBlock = 0 ;
94- consensus.nLastPoWBlock = std::numeric_limits<int >::max ();
94+ consensus.nLastPoWBlock = 150000 ;
95+ consensus.nMandatoryUpgradeBlock = 150000 ;
9596 consensus.nTreasuryPaymentsStartBlock = std::numeric_limits<int >::max ();
9697 consensus.BIP16Exception = uint256{};
9798 consensus.BIP34Height = 0 ;
@@ -125,9 +126,10 @@ class CMainParams : public CChainParams {
125126 consensus.vDeployments [Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
126127
127128 consensus.mTreasuryPayees .emplace (CScript () << OP_0 << ParseHex (" 978a5064cd1fdf8c2510fe3fcbd65eaa5e98b32d" ), 100 ); // 10% (full reward) for ep1qj799qexdrl0ccfgslcluh4j74f0f3vedatcv0k
129+ consensus.nTreasuryRewardPercentage = 10 ; // 10% of block reward goes to treasury
128130
129- consensus.nMinimumChainWork = uint256S (" 0x0000000000000000000000000000000000000000000000000000000000000000 " );
130- consensus.defaultAssumeValid = uint256S (" 0x0000000000000000000000000000000000000000000000000000000000000000 " ); // 654683
131+ consensus.nMinimumChainWork = uint256S (" 0x00000000000000000000000000000000000000000000000035a7e986160b3cac " );
132+ consensus.defaultAssumeValid = uint256S (" 0x505286a87781aabbb6cfc7a9b735ffacd8ce73bc06ed17dae546cafe4ca3e7a3 " ); // 50000
131133
132134 /* *
133135 * The message start string is designed to be unlikely to occur in normal data.
@@ -187,7 +189,8 @@ class CMainParams : public CChainParams {
187189
188190 checkpointData = {
189191 {
190- {0 , uint256S (" 000000954c02f260a6db02c712557adcb5a7a8a0a9acfd3d3c2b3a427376c56f" )},
192+ { 0 , uint256S (" 000000954c02f260a6db02c712557adcb5a7a8a0a9acfd3d3c2b3a427376c56f" )},
193+ { 50000 , uint256S (" 505286a87781aabbb6cfc7a9b735ffacd8ce73bc06ed17dae546cafe4ca3e7a3" )},
191194 }
192195 };
193196
@@ -213,6 +216,7 @@ class CTestNetParams : public CChainParams {
213216 consensus.nBudgetPaymentsStartBlock = std::numeric_limits<int >::max ();
214217 consensus.nPoSStartBlock = 0 ;
215218 consensus.nLastPoWBlock = std::numeric_limits<int >::max ();
219+ consensus.nMandatoryUpgradeBlock = 0 ;
216220 consensus.nTreasuryPaymentsStartBlock = 200 ;
217221 consensus.BIP16Exception = uint256{};
218222 consensus.BIP34Height = 0 ;
@@ -246,6 +250,7 @@ class CTestNetParams : public CChainParams {
246250 consensus.vDeployments [Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
247251
248252 consensus.mTreasuryPayees .emplace (CScript () << OP_0 << ParseHex (" 978a5064cd1fdf8c2510fe3fcbd65eaa5e98b32d" ), 100 ); // 10% (full reward) for ep1qj799qexdrl0ccfgslcluh4j74f0f3vedatcv0k
253+ consensus.nTreasuryRewardPercentage = 10 ; // 10% of block reward goes to treasury
249254
250255 consensus.nMinimumChainWork = uint256S (" 0x0000000000000000000000000000000000000000000000000000000000000000" );
251256 consensus.defaultAssumeValid = uint256S (" 0x0000000000000000000000000000000000000000000000000000000000000000" ); // 1864000
@@ -375,6 +380,7 @@ class SigNetParams : public CChainParams {
375380 consensus.nBudgetPaymentsStartBlock = std::numeric_limits<int >::max ();
376381 consensus.nPoSStartBlock = 0 ;
377382 consensus.nLastPoWBlock = std::numeric_limits<int >::max ();
383+ consensus.nMandatoryUpgradeBlock = 0 ;
378384 consensus.nTreasuryPaymentsStartBlock = 200 ;
379385 consensus.BIP16Exception = uint256{};
380386 consensus.BIP34Height = 1 ;
@@ -408,6 +414,7 @@ class SigNetParams : public CChainParams {
408414 consensus.vDeployments [Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
409415
410416 consensus.mTreasuryPayees .emplace (CScript () << OP_0 << ParseHex (" 978a5064cd1fdf8c2510fe3fcbd65eaa5e98b32d" ), 100 ); // 10% (full reward) for ep1qj799qexdrl0ccfgslcluh4j74f0f3vedatcv0k
417+ consensus.nTreasuryRewardPercentage = 10 ; // 10% of block reward goes to treasury
411418
412419 // message start is defined as the first 4 bytes of the sha256d of the block script
413420 CHashWriter h (SER_DISK, 0 );
@@ -461,6 +468,7 @@ class CRegTestParams : public CChainParams {
461468 consensus.nBudgetPaymentsStartBlock = std::numeric_limits<int >::max ();
462469 consensus.nPoSStartBlock = 0 ;
463470 consensus.nLastPoWBlock = std::numeric_limits<int >::max ();
471+ consensus.nMandatoryUpgradeBlock = 0 ;
464472 consensus.nTreasuryPaymentsStartBlock = 30 ;
465473 consensus.BIP16Exception = uint256{};
466474 consensus.BIP34Height = 500 ; // BIP34 activated on regtest (Used in functional tests)
@@ -492,6 +500,7 @@ class CRegTestParams : public CChainParams {
492500 consensus.vDeployments [Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
493501
494502 consensus.mTreasuryPayees .emplace (CScript () << OP_0 << ParseHex (" 978a5064cd1fdf8c2510fe3fcbd65eaa5e98b32d" ), 100 ); // 10% (full reward) for ep1qj799qexdrl0ccfgslcluh4j74f0f3vedatcv0k
503+ consensus.nTreasuryRewardPercentage = 10 ; // 10% of block reward goes to treasury
495504
496505 consensus.nMinimumChainWork = uint256{};
497506 consensus.defaultAssumeValid = uint256{};
0 commit comments