Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [YC] YellowCoin ★★ Pure PoS - 10% Daily ★★ Let's color the MOON !!!
by
zidansz
on 28/04/2014, 18:20:54 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.
i think some wrong with nHeight
and maybe work this string in code
Code:
nRewardCoinYear = MAX_MINT_PROOF_OF_STAKE;