Post
Topic
Board Announcements (Altcoins)
Re: [ANN] microCoin MRC - alcurEX - Scrypt-Jane - nFactor - soon in alcurEX exchange
by
snguyen
on 03/05/2014, 14:45:22 UTC
I can make code fix:
            nSubsidy = (310000 - ((nHeight - 310000) * 0.01)) * COIN;
is not right.
What we want to be?

I have windows and linux computer ready for compile new wallets, jus give me right code.

1/ nSubsidy = (10000 - ((nHeight - 10000) * 0.01)) * COIN; if we keep 10K reward

2/ nSubsidy = (1000 - ((nHeight - 1000) * 0.01)) * COIN; if we make it 1K reward

You guys confirm ?
Don't want to quess. Are you sure about the code?

I think
nSubsidy = (310000 - ((nHeight - 10000) * 0.01)) * COIN; if we keep 10K reward
I will change block reward decrease as it was planned (from 10,000 it will count down with 0.01 steps)
Working code for that is:
 nSubsidy = (3100 - ((nHeight * 0.01) -310000)) - 300000;

Hi halibit, I am wondering why you did not reply to my PM, even in this case I am the first one pointing out the bug.

And the hard fork with your suggested code is not correct, it will make the block reward from block 310000 until the block applied the fork becomes invalid -> killing the coin even faster than current situation.

Please, let decide a block number to make the change. Let say it 315,000, so the correct code would be:
Quote
else if(nHeight < 315000)
{
   nSubsidy = (310000 - ((nHeight - 310000) * 0.01)) * COIN;
} else {
   nSubsidy = (10000 - ((nHeight - 315000) * 0.01)) * COIN;
   if (nSubsidy <= 1000) nSubsidy = 1000; // Rest of blocks are 1000 coins. Then network working forever with stake blocks.
}

It will slightly change the original coin spec. We can consider 5000 blocks (block 310,000 to 315,000) is for the coin promotion. Everyone happy.

Please, do not make too much change to the coin (slightly decresing reward from 10,000 to 1,000 is an innovation, dont break it please).

Thank and hope my 2 sat helps,
-snguyen

Edit: Fix grammar