2.40
I better hold other coins.
dev is online..so what's the block reward structure of this coin?
and the total number of this coin?
22M or 220M?
This is the block reward:
int64_t GetBlockValue(int nBits, int nHeight, int64_t nFees)
{
double dDiff = (double)0x0000ffff / (double)(nBits & 0x00ffffff);
/* fixed bug caused diff to not be correctly calculated */
if(nHeight > 4500 || TestNet()) dDiff = ConvertBitsToDouble(nBits);
int64_t nSubsidy = 0;
if(nHeight >= 5465) {
if((nHeight >= 17000 && dDiff > 75) || nHeight >= 24000) { // GPU/ASIC difficulty calc
// 2222222/(((x+2600)/9)^2)
nSubsidy = (2222222.0 / (pow((dDiff+2600.0)/9.0,2.0)));
if (nSubsidy > 25) nSubsidy = 250;
if (nSubsidy < 5) nSubsidy = 50;
} else { // CPU mining calc
nSubsidy = (11111.0 / (pow((dDiff+51.0)/6.0,2.0)));
if (nSubsidy > 500) nSubsidy = 5000;
if (nSubsidy < 25) nSubsidy = 250;
}
} else {
nSubsidy = (1111.0 / (pow((dDiff+1.0),2.0)));
if (nSubsidy > 500) nSubsidy = 5000;
if (nSubsidy < 1) nSubsidy = 10;