Bitcoin Forum
June 16, 2024, 07:35:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 42Coin block subsidy does not decrease, how is it limited to 42 coins?  (Read 1294 times)
megakwood (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 16, 2014, 07:56:47 PM
Last edit: January 16, 2014, 08:56:24 PM by megakwood
 #1

With all limited coins, nSubsidy has a way to trend towards zero after a while. Some coins do this by halving the block reward, others by using some type of step function that eventually gives out 0 coins.

Litecoin, for example, halves until the subsidy is 0:
https://github.com/litecoin-project/litecoin/blob/master-0.8/src/main.cpp#L1069

Mincoin just sets it to zero after a while:
https://github.com/SandyCohen/mincoin/blob/master/src/main.cpp#L837

Looking at the 42coin source code here... the is subsidy is always a positive number, forever.
https://github.com/fourtytwo42/42/blob/master/src/main.cpp#L835

So how are they claiming that it's limited to 42 total coins? Because it's definitely not, unless the thing explodes after the 1 millionth block.

What am I missing?
megakwood (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 16, 2014, 08:56:01 PM
 #2

Starting to think no one's actually looked in to this!
trex
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
January 16, 2014, 10:43:38 PM
 #3

explain anyone?Huh

Bobsurplus
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


Making money since I was in the womb! @emc2whale


View Profile
January 16, 2014, 10:44:52 PM
 #4

I see a crash and burn coming!
Hazard
Legendary
*
Offline Offline

Activity: 980
Merit: 1000



View Profile WWW
January 16, 2014, 10:45:02 PM
Last edit: January 17, 2014, 01:20:03 PM by Hazard
 #5

Shitty development. Don't worry, the coin won't last that long anyway.

http://cryptolife.net/the-gimmicks-continue-say-hello-to-42/

markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
January 17, 2014, 03:56:02 AM
 #6

You act as if it is surprising that a scam is a scam.

Sheesh.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
megakwood (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 18, 2014, 10:44:57 PM
 #7

The developer must think the following line of code in main.h will prevent more than 42 coins from being created:

Code:
static const int64 MAX_MONEY = 42 * COIN; // 42: maximum of 42 coins

Although a code update could fix this issue, I don't foresee that being needed.  This will die well before 42 coins are minted. 

This has got to be it, nice find. The developer has no idea what he's doing.

You act as if it is surprising that a scam is a scam.

Sheesh.

Of course I suspected it to be a scam, but not to this extent... I'm sorry I bored you by presenting hard evidence of that, but I'm sure others in the community will find the information useful.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!