Bitcoin Forum
April 19, 2024, 09:33:06 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why is the final Bitcoin amount less than 21 million BTC?  (Read 477 times)
x13 (OP)
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Things are called shit for a reason, dear.


View Profile
May 23, 2016, 07:01:13 PM
Last edit: May 23, 2016, 07:21:10 PM by x13
 #1

When I looked up an information on Bitcoin wiki I stumbled over the controlled supply article.
The article states that there will be exactly 20999999.97690000 BTC.
Is this true or is the information wrong? If it is true, what aren't it exactly 21 million Bitcoins?

https://en.bitcoin.it/wiki/Controlled_supply

1713562386
Hero Member
*
Offline Offline

Posts: 1713562386

View Profile Personal Message (Offline)

Ignore
1713562386
Reply with quote  #2

1713562386
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713562386
Hero Member
*
Offline Offline

Posts: 1713562386

View Profile Personal Message (Offline)

Ignore
1713562386
Reply with quote  #2

1713562386
Report to moderator
1713562386
Hero Member
*
Offline Offline

Posts: 1713562386

View Profile Personal Message (Offline)

Ignore
1713562386
Reply with quote  #2

1713562386
Report to moderator
NyeFe
Hero Member
*****
Offline Offline

Activity: 699
Merit: 500


View Profile
May 23, 2016, 07:04:06 PM
Last edit: May 23, 2016, 08:09:35 PM by NyeFe
 #2

Its true. The value is rounded to the nearest significant figure... forgot the reason behind it (perhaps someone can quote me the reason) but would you rather say 20.9(recurring) million bitcoins or 21? it's pretty logical


Quote
People say the total will be 21000000 BTC.

... however:

The 1st 210000 blocks each allow creating 50 BTC.
The 2nd 210000 blocks each allow creating 25 BTC.
The 3rd 210000 blocks each allow creating 12.5 BTC.
...

The 10th 210000 blocks each allow creating 0.09765625 BTC.
The 11th 210000 blocks each allow creating 0.04882812 BTC, and not 0.048828125 BTC, because only 8 decimals of precision are supported.
...

The 33rd 210000 blocks each allow creating 0.00000001 BTC.
After that, the reward is 0.

If you sum all these numbers together, you get 20999999.9769 BTC.

... however, either due to an oversight or intentionally, the coins created in the genesis block cannot be spent.

This leaves us with 20999949.9769 BTC.

... however, due to an early problem in Bitcoin, fixed by BIP30, it was possible to create a coinbase transaction identical to a previous coinbase. This caused the coins created by that older coinbase to be irreversibly "overwritten". This happened in block 91842 (overwriting the coinbase of block 91812) and 91880 (overwriting the coinbase of block 91722). Each time, 50 BTC was lost.

This leaves us with 20999849.9769 BTC.

... however, the protocol rules allow creating up to the amounts listed above. Due to various bugs and miners experimenting with code, some blocks claim less than allowed. Those coins can never be recovered.


Block 124724 tried to intentionally claim 0.00000001 BTC less than allowed, but accidentally also failed to claim the fees, losing 0.01000001 BTC.
Between block 162705 and block 169899, 193 blocks claimed less than allowed due to a bug, resulting in a total loss of 9.66184623 BTC.
Between block 180324 and block 249185, another 836 blocks claimed less than allowed, resulting in a total loss of 0.52584193 BTC.
This leaves us with 20999839.77921183 BTC.

... however, since recently there is a concept of provably unspendable coins. Coins can be sent to an "address" which provably burns them (using OP_RETURN). Bitcoin Core tracks these and removes them from its database, so they are easily accounted for. At least 0.03616475 BTC were burned this way.

This leaves us with 20999839.74304708 BTC (taking everything up to block 368719 into account)

... However, various wallets have been lost or stolen, transactions have been sent to the wrong address, people forgot they owned bitcoin. The totals of this may well be millions. People have tried to tally known losses up here.

Source: Copy & Paste, Github/bitcoin

MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
calkob
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
May 23, 2016, 07:43:43 PM
 #3

Thats the 1st i have heard of that, it is an interesting fact, needless to say there is obviously some important reason as to why that is the case
x13 (OP)
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Things are called shit for a reason, dear.


View Profile
May 24, 2016, 10:57:59 AM
 #4

Oh thanks, your referred source is really helpful to understand the background. Nevertheless, it is actually not important that there are 2.31 million Satoshi less created as commonly assumed but I wanted to know the reason.

Its true. The value is rounded to the nearest significant figure... forgot the reason behind it (perhaps someone can quote me the reason) but would you rather say 20.9(recurring) million bitcoins or 21? it's pretty logical


Quote
People say the total will be 21000000 BTC.

... however:

The 1st 210000 blocks each allow creating 50 BTC.
The 2nd 210000 blocks each allow creating 25 BTC.
The 3rd 210000 blocks each allow creating 12.5 BTC.
...

The 10th 210000 blocks each allow creating 0.09765625 BTC.
The 11th 210000 blocks each allow creating 0.04882812 BTC, and not 0.048828125 BTC, because only 8 decimals of precision are supported.
...

The 33rd 210000 blocks each allow creating 0.00000001 BTC.
After that, the reward is 0.

If you sum all these numbers together, you get 20999999.9769 BTC.

... however, either due to an oversight or intentionally, the coins created in the genesis block cannot be spent.

This leaves us with 20999949.9769 BTC.

... however, due to an early problem in Bitcoin, fixed by BIP30, it was possible to create a coinbase transaction identical to a previous coinbase. This caused the coins created by that older coinbase to be irreversibly "overwritten". This happened in block 91842 (overwriting the coinbase of block 91812) and 91880 (overwriting the coinbase of block 91722). Each time, 50 BTC was lost.

This leaves us with 20999849.9769 BTC.

... however, the protocol rules allow creating up to the amounts listed above. Due to various bugs and miners experimenting with code, some blocks claim less than allowed. Those coins can never be recovered.


Block 124724 tried to intentionally claim 0.00000001 BTC less than allowed, but accidentally also failed to claim the fees, losing 0.01000001 BTC.
Between block 162705 and block 169899, 193 blocks claimed less than allowed due to a bug, resulting in a total loss of 9.66184623 BTC.
Between block 180324 and block 249185, another 836 blocks claimed less than allowed, resulting in a total loss of 0.52584193 BTC.
This leaves us with 20999839.77921183 BTC.

... however, since recently there is a concept of provably unspendable coins. Coins can be sent to an "address" which provably burns them (using OP_RETURN). Bitcoin Core tracks these and removes them from its database, so they are easily accounted for. At least 0.03616475 BTC were burned this way.

This leaves us with 20999839.74304708 BTC (taking everything up to block 368719 into account)

... However, various wallets have been lost or stolen, transactions have been sent to the wrong address, people forgot they owned bitcoin. The totals of this may well be millions. People have tried to tally known losses up here.

Source: Copy & Paste, Github/bitcoin

LCSociety
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
May 24, 2016, 11:10:24 AM
 #5

They usually just round up to the most significant number, 21Million looks/sounds better than 20.99999 Million
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!