Post
Topic
Board Announcements (Altcoins)
Re: FireFlyCoin Launched!
by
DarthNoodle
on 26/02/2014, 10:48:37 UTC
Hi,

i would just like to check something.. i was working my way through the code using your coin as an example and have noticed there may be a bug/issue..

essentially i have noticed that almost all coins define the block halfving through the following methods:

chainparams.cpp (Line 34) - This is the half every block value.

main.cpp (line 1250)  - the GetBlockValue is used to return the coin value.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = nStartSubsidy;

    return nSubsidy + nFees;
}

your code will always return a block reward of 120 coins forever.. so there technically there is no coin cap?

is this an intended function or something you forgot to add to the code?