Skip to content

Commit

Permalink
Update scrypt implementation height and collateral height
Browse files Browse the repository at this point in the history
  • Loading branch information
lipgmppa committed May 8, 2022
1 parent ea9de03 commit 91408ca
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ class CMainParams : public CChainParams {
consensus.v2DiffChangeHeight = 5;
consensus.v3DiffChangeHeight = 10;
consensus.AlgoChangeHeight = 28;
consensus.nSwitchHeight = 170000;
consensus.nSwitchHeight = 150000;
consensus.nLocalTargetAdjustment = 4; //target adjustment per algo
consensus.nLocalDifficultyAdjustment = 4; //difficulty adjustment per algo

Expand Down Expand Up @@ -527,7 +527,10 @@ class CMainParams : public CChainParams {
consensus.nFounderPayment = FounderPayment(rewardStructures, 250);
consensus.nCollaterals = SmartnodeCollaterals(
{
{400000, 6000000 * COIN}, {INT_MAX, 8000000 * COIN}
{150000, 6000000 * COIN},
{500000, 15000000 * COIN},
{700000, 20000000 * COIN},
{INT_MAX, 25000000 * COIN}
},
{
{5761, 0}, {INT_MAX, 20}
Expand Down Expand Up @@ -697,6 +700,14 @@ class CTestNetParams : public CChainParams {
};
consensus.nFounderPayment = FounderPayment(rewardStructures, 200);

consensus.nCollaterals = SmartnodeCollaterals(
{
{40000, 15000000 * COIN}, {INT_MAX, 20000000 * COIN}
},
{
{200, 0}, {INT_MAX, 20}
}
);
fDefaultConsistencyChecks = false;
fRequireStandard = false;
fRequireRoutableExternalIP = true;
Expand Down

0 comments on commit 91408ca

Please sign in to comment.