Post
Topic
Board Announcements (Altcoins)
Re: Coin2.0 [C2.0] - The forward thinking POS (FPS GAME DEV. UNDER WAY).
by
gts476
on 20/05/2014, 15:23:03 UTC
Happy days!

So to recap:

1 to 1 trade into new c2 @ 5% interest p.a. for minting and (obviously) 60mil max supply

No worries.

no 5%, not yet
Code:
int64 GetProofOfStakeReward(int64 nCoinAge, unsigned int nBits, unsigned int nTime, int nHeight)
{
    int64 nRewardCoinYear;
nRewardCoinYear = MAX_MINT_PROOF_OF_STAKE;

if(nHeight < YEARLY_BLOCKCOUNT)
nRewardCoinYear = 30 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (2 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 20 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (3 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 10 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (4 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 5 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (5 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 2 * 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;
}

he is working on something and
Code:
       nSubsidy = 64000000 * COIN; // 60 million coins, that all pow coins

64 mil now, and according to getinfo we have now
Code:
"moneysupply" : 61120140.07923700,

64 is to cover what is already staked and ... I don't know, maybe still few mil to stake forever Wink

cool! so is this what c++ looks like?

just had my c programming skills exam yesterday fucking can't believe I can read this!