Skip to content

Commit

Permalink
shift the new collateral table to block 1200001
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-at-decenomy committed Jul 26, 2021
1 parent d3b25d6 commit 0362355
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Sapphire Standard wallet repository
| 900,001 | 200,000 | 500.00 | 95 | 5 | 475.00 | 25.00 |
| 950,001 | 200,000 | 450.00 | 95 | 5 | 427.50 | 22.50 |
| 1,000,001 | 200,000 | 400.00 | 95 | 5 | 380.00 | 20.00 |
| 1,180,001 | 200,000 | 800.00 | 65 | 35 | 520.00 | 280.00 |
| 1,200,001 | 200,000 | 800.00 | 65 | 35 | 520.00 | 280.00 |
---
2 changes: 1 addition & 1 deletion src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class CMainParams : public CChainParams
consensus.vUpgrades[Consensus::UPGRADE_P2PKH_BLOCK_SIGNATURES].nActivationHeight = 905401;
consensus.vUpgrades[Consensus::UPGRADE_STAKE_MIN_DEPTH_V2].nActivationHeight = 905501;
consensus.vUpgrades[Consensus::UPGRADE_CHECK_WORK_V2].nActivationHeight = 910001;
consensus.vUpgrades[Consensus::UPGRADE_MASTERNODE_RANK_V2].nActivationHeight = 1180001;
consensus.vUpgrades[Consensus::UPGRADE_MASTERNODE_RANK_V2].nActivationHeight = 1200001;

consensus.vUpgrades[Consensus::UPGRADE_POS].hashActivationBlock = uint256S("ef544e9c4181e103bdcaae6153aa90495f1f830a91368364c4b8b97a3782e579");
consensus.vUpgrades[Consensus::UPGRADE_POS_V2].hashActivationBlock = uint256S("c36a49839903e01bc2d6c44f20516fd5f3d816cf2d16cd30c488986668bdf269");
Expand Down
4 changes: 2 additions & 2 deletions src/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ CAmount CMasternode::GetBlockValue(int nHeight)
// Exceptions made to force a fork
if (nHeight == 574010 || nHeight == 585330 || nHeight == 586594) return 801 * COIN;

if(nHeight > 1180000) return 800 * COIN;
if(nHeight > 1200000) return 800 * COIN;
if(nHeight > 1000000) return 400 * COIN;
if(nHeight > 950000) return 450 * COIN;
if(nHeight > 900000) return 500 * COIN;
Expand Down Expand Up @@ -383,7 +383,7 @@ CAmount CMasternode::GetBlockValue(int nHeight)

CAmount CMasternode::GetMasternodePayment(int nHeight)
{
if(nHeight > 1180000) return GetBlockValue(nHeight) * 65 / 100;
if(nHeight > 1200000) return GetBlockValue(nHeight) * 65 / 100;

return GetBlockValue(nHeight) * 95 / 100;
}
Expand Down

0 comments on commit 0362355

Please sign in to comment.