src/main.cpp
CAmount GetProofOfStakeReward(int64_t nCoinAge, const CAmount& nFees)
{
    // some scary rounding dirty trick here for leap / non-leap years
    // CoinAge=365 -> nSubsidy=9993
    // CoinAge=366 -> nSubsidy=10020
    CAmount nSubsidy = nCoinAge * COIN_YEAR_REWARD * 33 / (365 * 33 + 8);

    if (fDebug && GetBoolArg("-printcreation", false))
        LogPrintf("GetProofOfStakeReward(): nSubsidy=%s nCoinAge=%s nFees=%s\n", FormatMoney(nSubsidy).c_str(), nCoinAge, FormatMoney(nFees));

    return nSubsidy + nFees;
}
// PoSV: coinstake reward based on coin age spent (coin-days)
coinstake reward based on coin age spent (coin-days)
coinstake reward based on coin age spent ( coin - days )
CAmount GetProofOfStakeReward(int64_t nCoinAge, const CAmount& nFees)
{
    CAmount nSubsidy = nCoinAge * COIN_YEAR_REWARD * 33 / (365 * 33 + 8);
    if (fDebug && GetBoolArg("-printcreation", false))
        LogPrintf("GetProofOfStakeReward(): nSubsidy=%s nCoinAge=%s nFees=%s\n", FormatMoney(nSubsidy).c_str(), nCoinAge, FormatMoney(nFees));
    return nSubsidy + nFees;
}
CAmount GetProofOfStakeReward ( int64_t nCoinAge , const CAmount & nFees ) { CAmount nSubsidy = nCoinAge * COIN_YEAR_REWARD * 33 / ( 365 * 33 + 8 ) ; if ( fDebug && GetBoolArg ( " " , false ) ) LogPrintf ( " \n " , FormatMoney ( nSubsidy ) . c_str ( ) , nCoinAge , FormatMoney ( nFees ) ) ; return nSubsidy + nFees ; }
PoSV: coinstake reward based on coin age spent (coin-days)
PoSV : coinstake reward based on coin age spent ( coin - days )
// some scary rounding dirty trick here for leap / non-leap years // CoinAge=365 -> nSubsidy=9993 // CoinAge=366 -> nSubsidy=10020