aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2012-07-18 06:13:52 -0700
committerGregory Maxwell <[email protected]>2012-07-18 06:13:52 -0700
commit07becec31cc7ad4afdbbe65287a5e481d59f3d14 (patch)
tree683013feb2e06e953ce2c04c47aef674e8c6833a /src/main.cpp
parentMerge pull request #1563 from Diapolo/pro-file (diff)
parentLet the comment in GetBlockValue() reflect the uncertainty about the time int... (diff)
downloaddiscoin-07becec31cc7ad4afdbbe65287a5e481d59f3d14.tar.xz
discoin-07becec31cc7ad4afdbbe65287a5e481d59f3d14.zip
Merge pull request #1608 from runeksvendsen/master
Update the comment in GetBlockValue() to better reflect the uncertainty about the time interval between subsidy reductions
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c4472c455..bc2fdb023 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -828,7 +828,7 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
{
int64 nSubsidy = 50 * COIN;
- // Subsidy is cut in half every 4 years
+ // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
nSubsidy >>= (nHeight / 210000);
return nSubsidy + nFees;