Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Changing Max Supply after released
by
DannyHamilton
on 29/03/2018, 13:32:28 UTC
⭐ Merited by ETFbitcoin (1)
Hi Folks,

one technical question: is it possible to change the Max Supply of a coin after the it was released and people started to mine it?

I ask you this because for a typo I inserted a zero too much in the definition of the constant MAX_MONEY

I wrote:

src/amount.h:static const CAmount MAX_MONEY = 650000000 * COIN;

instead of:

src/amount.h:static const CAmount MAX_MONEY = 65000000 * COIN;

Thanks your kind help

MAX_MONEY does not have any effect on the Maximum Supply of the coin.

The Maximum Supply is determined by the number of coins that are created with each block.

MAX_MONEY is just used for comparison to prevent overflow conditions in the code.