Talk:Controlled supply: Difference between revisions
No edit summary |
TheRealSteve (talk | contribs) →Projected Bitcoins (Long Term) - the numbers: new section |
||
Line 4: | Line 4: | ||
== Actual Supply is Different From The Tables Here == | == Actual Supply is Different From The Tables Here == | ||
Note that the actual supply is different than what is listed on these graphs due to provably destroyed coins, duplicate coinbase, and underpays; this should be accounted-for in the graphs. [[User:Midnightmagic|Midnightmagic]] ([[User talk:Midnightmagic|talk]]) 16:32, 16 September 2014 (UTC) | Note that the actual supply is different than what is listed on these graphs due to provably destroyed coins, duplicate coinbase, and underpays; this should be accounted-for in the graphs. [[User:Midnightmagic|Midnightmagic]] ([[User talk:Midnightmagic|talk]]) 16:32, 16 September 2014 (UTC) | ||
== Projected Bitcoins (Long Term) - the numbers == | |||
The Projected Bitcoins Long Term table in the page uses [[Units|Bitcoin]] unit representation as a floating point number with an 8-digit precision to convey the actual number in [[Satoshi (unit)|satoshi]], which has an integer representation inside the [[Bitcoin Core|satoshi client]]. | |||
Each of the values is based on the actual number of satoshi rewarded per block. This reward halves every 210,000 blocks.[https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L1179] This halving presents a potential point of confusion; at some point the reward would be 610,351.5 satoshi - which at {{as of|2015|04|04}} cannot exist in the satoshi client's fixed point arithmetic limit.<br /> | |||
The value is, instead, truncated to 610,351 satoshi. The total number of satoshi generated during that reward era is thus not <tt>210,000 * 610,351.5 = 128,173,815,000 (<span class="btc">BTC</span>1,281.73815000)</tt>, but <tt>210,000 * 610,351 = 128,173,710,000 (<span class="btc">BTC</span>1,281.73710000)</tt>. The same problem presents itself with any subsequent reward eras .<br /> | |||
An earlier version of the table in this page had a single satoshi error in some of the values, likely due to related floating point accuracy issues. | |||
At the actual last round there should be a total of <tt><span class="btc">BTC</span>20,999,999.97690000</tt>.<br /> | |||
If using floating point math throughout, depending on the accuracy and behavior of the floating point calculations, this could end up being calculated as <tt><span class="btc">BTC</span>20999999.99877760</tt>, or a difference of <tt><span class="btc">BTC</span>0.02187764</tt>.<br /> | |||
The floating point math approach will tend toward a total supply of <tt><span class="btc">BTC</span>21,000,000</tt>, and a difference from the actual current maximum of <tt><span class="btc">BTC</span>0.0231</tt>. | |||
For technical purposes, the total supply should be noted as <tt><span class="btc">BTC</span>20,999,999.97690</tt> with a reminder that this depends on the current fixed point arithmetic. For colloquial use, <tt><span class="btc">BTC</span>21,000,000</tt> should be acceptable. [[User:TheRealSteve|TheRealSteve]] ([[User talk:TheRealSteve|talk]]) 22:01, 4 April 2015 (UTC) |
Revision as of 22:01, 4 April 2015
Do not Resurrect That Stupid Graph
Please see my points over at File_talk:Total_bitcoins_over_time_graph.png which describe why I deleted the graph, and description of a suitable alternative. Seriously, the amount of misleading information that prior graph has disseminated into the public is horrorshow-enormous. Midnightmagic (talk) 07:11, 14 September 2014 (UTC)
Actual Supply is Different From The Tables Here
Note that the actual supply is different than what is listed on these graphs due to provably destroyed coins, duplicate coinbase, and underpays; this should be accounted-for in the graphs. Midnightmagic (talk) 16:32, 16 September 2014 (UTC)
Projected Bitcoins (Long Term) - the numbers
The Projected Bitcoins Long Term table in the page uses Bitcoin unit representation as a floating point number with an 8-digit precision to convey the actual number in satoshi, which has an integer representation inside the satoshi client.
Each of the values is based on the actual number of satoshi rewarded per block. This reward halves every 210,000 blocks.[1] This halving presents a potential point of confusion; at some point the reward would be 610,351.5 satoshi - which at As of 4 April 2015[update] cannot exist in the satoshi client's fixed point arithmetic limit.
The value is, instead, truncated to 610,351 satoshi. The total number of satoshi generated during that reward era is thus not 210,000 * 610,351.5 = 128,173,815,000 (BTC1,281.73815000), but 210,000 * 610,351 = 128,173,710,000 (BTC1,281.73710000). The same problem presents itself with any subsequent reward eras .
An earlier version of the table in this page had a single satoshi error in some of the values, likely due to related floating point accuracy issues.
At the actual last round there should be a total of BTC20,999,999.97690000.
If using floating point math throughout, depending on the accuracy and behavior of the floating point calculations, this could end up being calculated as BTC20999999.99877760, or a difference of BTC0.02187764.
The floating point math approach will tend toward a total supply of BTC21,000,000, and a difference from the actual current maximum of BTC0.0231.
For technical purposes, the total supply should be noted as BTC20,999,999.97690 with a reminder that this depends on the current fixed point arithmetic. For colloquial use, BTC21,000,000 should be acceptable. TheRealSteve (talk) 22:01, 4 April 2015 (UTC)