Browse Source

Merge pull request #117 from TheTrunk/dev

Removing founders reward
pull/121/head
Duke Leto 6 years ago
committed by GitHub
parent
commit
c8edcba23a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/metrics.cpp

3
src/metrics.cpp

@ -335,9 +335,6 @@ int printMetrics(size_t cols, bool mining)
chainActive.Contains(mapBlockIndex[hash])) {
int height = mapBlockIndex[hash]->nHeight;
CAmount subsidy = GetBlockSubsidy(height, consensusParams);
if ((height > 0) && (height <= consensusParams.GetLastFoundersRewardBlockHeight())) {
subsidy -= subsidy/5;
}
if (std::max(0, COINBASE_MATURITY - (tipHeight - height)) > 0) {
immature += subsidy;
} else {

Loading…
Cancel
Save