Quite a few people think namecoins are infinite

Post Reply
JohnDoe
Posts: 94
Joined: Sat May 28, 2011 8:46 pm
os: linux

Quite a few people think namecoins are infinite

Post by JohnDoe »

Where in the source code can I read the part about block reward? I need some proof to show them that there is a maximum number of coins just like Bitcoin.

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: Quite a few people think namecoins are infinite

Post by khal »

main.cpp, in function CreateNewBlock, line 3384 :

Code: Select all

pblock->vtx[0].vout[0].nValue = GetBlockValue(pindexPrev->nHeight+1, nFees);
line 1092 :

Code: Select all

int64 GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

JohnDoe
Posts: 94
Joined: Sat May 28, 2011 8:46 pm
os: linux

Re: Quite a few people think namecoins are infinite

Post by JohnDoe »

Thanks khal.

imperi
Posts: 19
Joined: Wed Jun 29, 2011 10:33 am

Re: Quite a few people think namecoins are infinite

Post by imperi »

I've seen people say they are infinite as well, so I also thought this! This is quite annoying.

I'm very glad that it is NOT infinite.

tommy
Posts: 10
Joined: Thu Jun 30, 2011 7:28 am
os: linux

Re: Quite a few people think namecoins are infinite

Post by tommy »

I didn't understand your code quote. How many namecoins can there be in existence at the same time? 21 million as in btc?

JohnDoe
Posts: 94
Joined: Sat May 28, 2011 8:46 pm
os: linux

Re: Quite a few people think namecoins are infinite

Post by JohnDoe »

tommy wrote:I didn't understand your code quote. How many namecoins can there be in existence at the same time? 21 million as in btc?
Yes, but in practice there will be less because some are destroyed when registering domains.

tommy
Posts: 10
Joined: Thu Jun 30, 2011 7:28 am
os: linux

Re: Quite a few people think namecoins are infinite

Post by tommy »

JohnDoe wrote:
tommy wrote:I didn't understand your code quote. How many namecoins can there be in existence at the same time? 21 million as in btc?
Yes, but in practice there will be less because some are destroyed when registering domains.
Thanks for clarifying!

Post Reply