Post
Topic
Board Archival
Re: [ANN] [ILT] Intellect | X11 | 3650% Annually
by
Redmb
on 07/03/2015, 00:07:13 UTC
That's not the issue. The value is to be returned in satoshis (multiplied by COIN). I thought I made that perfectly clear.
So, is nSubsidy1 and nSubsidy2 equal?

Can't tell if trolling or you can't figure it out =p

int64_t nRewardCoinYear;
nRewardCoinYear = MAX_MINT_PROOF_OF_STAKE; // 36.5 * COIN (main.h)
int64_t nCoinAge = 100 * COIN * 1;
int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN;

nSubsidy = 100 * COIN * 1 * 36.5 * COIN / 365 / COIN;
nSubsidy = 100 * COIN * 1 * 36.5 / 365;

Is it correct? Value is multiplied by COIN? nSubsidy in satoshi format?

ps
So, is nSubsidy1 and nSubsidy2 equal?