Skip to content

Commit

Permalink
HF blocks for exchange address introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
psolstice committed Nov 18, 2023
1 parent 01f847e commit f164991
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@ class CMainParams : public CChainParams {
consensus.nPPSwitchTime = 1635228000; // Tue Oct 26 2021 06:00:00 GMT+0000
consensus.nPPBlockNumber = 419264;
consensus.nInitialPPDifficulty = 0x1b1774cd; // 40GH/s

// exchange address
consensus.nExchangeAddressStartBlock = consensus.nSparkStartBlock;
}
virtual bool SkipUndoForBlock(int nHeight) const
{
Expand Down Expand Up @@ -765,6 +768,9 @@ class CTestNetParams : public CChainParams {
consensus.nPPSwitchTime = 1630069200; // August 27 2021, 13:00 UTC
consensus.nPPBlockNumber = 37305;
consensus.nInitialPPDifficulty = 0x1d016e81; // 10MH/s

// exchange address
consensus.nExchangeAddressStartBlock = 147000;
}
};

Expand Down Expand Up @@ -999,6 +1005,9 @@ class CDevNetParams : public CChainParams {
consensus.nPPSwitchTime = 1631261566; // immediately after network start
consensus.nPPBlockNumber = 1;
consensus.nInitialPPDifficulty = 0x2000ffff;

// exchange address
consensus.nExchangeAddressStartBlock = 2500;
}
};

Expand Down

0 comments on commit f164991

Please sign in to comment.