Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [YC] YellowCoin ★★ Pure PoS - 10% Daily ★★ Let's color the MOON !!!
by
drumingspz
on 28/04/2014, 01:12:26 UTC
https://github.com/YCteam/YellowCoin/blob/master/src/main.cpp#L994
Code:
const int DAILY_BLOCKCOUNT =  4320;     // 1440 * 3
int64 GetProofOfStakeReward(int64 nCoinAge, unsigned int nBits, unsigned int nTime, int nHeight)
{
    int64 nRewardCoinYear;
nRewardCoinYear = MAX_MINT_PROOF_OF_STAKE;

if(nHeight < (7 * DAILY_BLOCKCOUNT))
nRewardCoinYear = 1 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (18 * DAILY_BLOCKCOUNT))
nRewardCoinYear = 1000 * MAX_MINT_PROOF_OF_STAKE;

    int64 nSubsidy = nCoinAge * nRewardCoinYear / 365;
if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRI64d" nBits=%d\n", FormatMoney(nSubsidy).c_str(), nCoinAge, nBits);

    return nSubsidy;
}

Seems nothing wrong with the code. We will get 10% POS soon.

The fact is we are past 7 * 4320 blocks (30240 blocks) and we are not getting the increased POS.  There is something wrong with your code.  Take another look, but you have a bug.  Don't just leave it as 'we'll get it soon'...  We are now at block 35693 - over 5000 blocks past where your code says it should kick in.  Keep digging and solve this or watch it crash and burn!