<p>I have changed the amount of coins to be mined, to be 1000 but looks did not work, I have already 8000 coins mined, can someone explain why it is not working?</p>

<p><strong>main.h</strong></p>

<pre><code>static const int64 MAX_MONEY = 1000 * COIN;  //coin limit

static const int COINBASE_MATURITY = 2;

return dPriority &gt; COIN * 1000 / 250; //after 10 blocks the dificulty will reajust
</code></pre>

<altcoin><altcoin-development>
cloning bitcoin MAX_MONEY not working
raduken
# cloning bitcoin MAX_MONEY not working

(Asked by: username_0 on 2018-03-31)

I have changed the amount of coins to be mined, to be 1000 but looks did not work, I have already 8000 coins mined, can someone explain why it is not working?
main.h
static const int64 MAX_MONEY = 1000 * COIN;  //coin limit

static const int COINBASE_MATURITY = 2;

return dPriority > COIN * 1000 / 250; //after 10 blocks the dificulty will reajust

**Tags:** altcoin, altcoin-development


---

## 0 answers

