Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Limits coinbase to 21M (thx genjix)

  • Loading branch information...
1 parent 8c26a0e commit 7110ddf25667f059ebcee159963b6703fff53e13 @ixcoin committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/main.cpp
6 src/main.cpp
@@ -640,7 +640,11 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
// Subsidy is cut in half every 4 years
nSubsidy >>= (nHeight / 210000);
+ //Hard limit to 21M Ixcoins
+ if (nHeight >= 218750)
+ nSubsidy = 0;
return nSubsidy + nFees;

1 comment on commit 7110ddf


It would indeed be best to be closer to Bitcoin's 21M limit. So I've updated the nHeight to 227499. We still get a decrease to a 48 reward in the last 17499 blocks. This will be a warning sign to miners that they'll soon have to rely exclusively on transactions fees ~3 months later.

Thanks for your input kr105rlz and best of luck with i0coin.

Please sign in to comment.
Something went wrong with that request. Please try again.