Post
Topic
Board Announcements (Altcoins)
Re: [ANN][FLO] Florin 0.8.7.4 | The original transaction message coin
by
skyangel
on 18/04/2015, 19:34:03 UTC
Quick note about the Florincoin protocol:

This protocol is stated to have a total coins of 160 million.  However, the protocol doesn't appear to actually do that.  This network will continue being mined long after 160 million coins are produced due to the protocol specifications:

https://github.com/pascalguru/florincoin/blob/master/src/main.cpp#L839

Just basic mathematics.

MAX_MONEY= 160,000,000

https://github.com/pascalguru/florincoin/blob/master/src/main.h#L40

However, this is not the actually maximum that will be produced by the network this is only the maximum that can be sent in a transaction.

This is not a problem for the function of Alexandria, am I reading this code correctly or does this cap it off at 160,000,000 ?

Or does this fix it?

https://github.com/pascalguru/florincoin/blob/master/src/main.h#L526


Reference: https://bitcointalk.org/index.php?topic=444775.0;wap2


Florin uses the same mechanism as Bitcoin and Litecoin where coin production is halved every number of blocks.

This can be seen in the line you referenced:

https://github.com/pascalguru/florincoin/blob/master/src/main.cpp#L839

Code:
  // Subsidy is cut in half every 800000 blocks
    nSubsidy >>= (nHeight / 800000); // Florincoin: 800k blocks in ~1 years

This will halve the subsidy every 800,000 blocks, producing a geometric series (100, 50, 25, etc.) whose sum is ~ 100 * 800,000 * 2 ~ 160 million.