Skip to content

Commit

Permalink
Merge pull request #49 from SavvyBlockProject/extendblockreward
Browse files Browse the repository at this point in the history
Extended 0.2 HLM block reward period to two weeks post initial launch.
  • Loading branch information
tohsnoom committed Sep 16, 2018
2 parents 25fb690 + 20e4d92 commit 41e3848
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Expand Up @@ -1837,8 +1837,8 @@ int64_t GetBlockValue(int nHeight)
nSubsidy = static_cast<int64_t>(8891033 * COIN);
} else if (nHeight <= Params().LAST_POW_BLOCK()) {
nSubsidy = static_cast<int64_t>(1 * COIN);
// Low PoS reward for 2 weeks following PoW phase
} else if (nHeight <= (Params().LAST_POW_BLOCK() + (1440 * 14))) {
// Low PoS reward for 2 weeks following initial wallet launch
} else if (nHeight <= 28000) {
nSubsidy = static_cast<int64_t>(0.2 * COIN);
} else if (nHeight <= (1 * nSubsidyReductionInterval)) {
nSubsidy = static_cast<int64_t>(5 * COIN);
Expand Down
4 changes: 2 additions & 2 deletions src/masternode-budget.cpp
Expand Up @@ -922,8 +922,8 @@ CAmount CBudgetManager::GetTotalBudget(int nHeight)
// Get block value and calculate from that
CAmount nSubsidy = GetBlockValue(nHeight);

// No budget until after first two weeks of Proof of Stake
if (nHeight <= 20560) {
// No budget until two weeks post initial launch
if (nHeight <= 28000) {
return 0 * COIN;
} else {
// Total budget is based on 7.2% of block reward for a 30 day period (using 1 minutes per) = (60*24*30)
Expand Down

0 comments on commit 41e3848

Please sign in to comment.