Post
Topic
Board Announcements (Altcoins)
Re: [ANN] USC - Ultimate Secure Cash
by
mountaind
on 11/04/2017, 01:02:41 UTC
So there was only 2 rewards for PoW, first and last block (1 and 1,000)?

Now we are in PoS?



main.h

Code:
static const int LAST_POW_BLOCK = 1000;
static const int LAST_FAIR_LAUNCH_BLOCK = 1;


main.cpp

Code:
// miner's coin base reward
int64_t GetProofOfWorkReward(int nHeight, int64_t nFees)
{
    int64_t nSubsidy = 0;

    if (nHeight <= 0)
        nSubsidy = 0;
    else
    if (nHeight == 1)
        nSubsidy = 36015156 * COIN;
    else
    if (nHeight <= LAST_POW_BLOCK)
        nSubsidy = 4500 * COIN;

    if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfWorkReward() : create=%s nSubsidy=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nSubsidy);

    return nSubsidy + nFees;
}


Elaborate

*Edit

No, that seems to say that he reward is 0 for every block except block 1.


No, 2 I think, but 36 million plus four thousand makes no sense.

What have I missed, Dev?

** Edit

There were a few 4500 payouts at least up to height 100.

http://45.55.52.85:3001/block/000006cc73da34c23d66c0f220d4cdf97438dee29694c99a6e600b1b333567e2