Browse Source
Merge pull request #117 from TheTrunk/dev
Removing founders reward
pull/121/head
Duke Leto
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
3 deletions
-
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 { |
|
|
|