Here's code:
Premine of 1% (of 12million) and 687.5 block reward:
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
int64_t nSubsidy = 687.5 * COIN;
if(nHeight == 1)
nSubsidy = 120000 * COIN;
else if(nHeight <= 100)
nSubsidy = 1 * COIN;
return nSubsidy + nFees;
}
TOTAL money supply (PoW + PoS)
static const int64 MAX_MONEY = 36000000 * COIN; // 36 Million
However, I can't find the missing 6 million coins either. I don't know how you get 12 million coins in the PoW phase. Blocks aren't fully mature to stake for 30 days (but they can start in 7 hours):
unsigned int nStakeMinAge = 60 * 60 * 7 * 1; // minimum age for coin age: 7h
unsigned int nStakeMaxAge = 60 * 60 * 24 * 30; // stake age of full weight: 30d
687.5 block reward * 1440 blocks per day + 120,000 premine = 6059312.5 after 6 days. (990,000 coins for 5 days, 1st day with premine was 1109312.5 coins)
So...I don't know where 12 million coins in the PoW phase comes in. In fact, we're about 1/3 of the way through PoW right now (on block 2735 of 8640). The current money supply is 1,935,099.0. That's almost 1/3 the total I just calculated (6,059,312.5).
I think the total PoW coins is ~6,000,000. Thus, the premine was actually 2%.
This is good and bad. Less coins means it's worth more. However, a 2% premine means we were lied to.
The other option is that I'm just not seeing 6 million coins somewhere. They aren't in the money supply right now and, at this rate, won't be by the end of PoW.
I don't feel I was lied to If he had double the amount of actual coins he said he had I would, but he always said the premine was "120,000" right ?
and ya so once pos starts we'll already have however many days stake on the coins since we deposited your first deposits, and you have a chance of getting your coins staked after only 7 hours (after pow ends of course) but a coin will never get more than 30 days worth of stake on it (full maturity) so be sure to leave your wallets open/unlocked consistently after pow ends to be sure you don't miss out on any
