Post
Topic
Board Announcements (Altcoins)
Re: [LTCD] LitecoinDark.com ★ Scrypt ★ Bittrex ★ Cryptsy ★ Mandatory update!
by
Viper1
on 20/10/2014, 08:39:49 UTC
snip

Thanks for the detailed response, will need to read it a few times to digest it.

In terms of the "shortened mining time" thing, I've looked at a number of coin sources and read various discussions related to things like premines, reward structures and the like when some new coin launches and people are checking over the code. One of the things I've been led to believe is that the MAX_MONEY parameter is only used as a limit check in some of the code and that the only thing that truly determines the reward, is the proof of work routine.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 3200 * COIN;

if (nHeight >= REDUCED_REWARDS_BLOCK)
{
nSubsidy = 96 * COIN;
}

    // Subsidy is cut in half every 12813 blocks
    nSubsidy >>= (nHeight / 12813);

    return nSubsidy + nFees;
}

This is usually the code people would check.  Odd thing here is that I can't get it to work out for what the current reward is but basically, the subsidy would get shifted to 0 much quicker than before since it's "starting" at a lower initial subsidy.

The code is different than other coins I've looked at in that it's usually called ProofOfWork or something like that so maybe you can point me in the right direction.