Bitcoin Forum
May 10, 2024, 04:16:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Why was 21 million coins chose as the total number of bitcoins?  (Read 3519 times)
BitcoinPenny
aka CJBianco
Legendary
*
Offline Offline

Activity: 2662
Merit: 2203


BitcoinPenny.com


View Profile WWW
March 03, 2015, 09:27:41 PM
 #41

The answer to the universe and everything is 42.

I love that book series. =)

Me

BitcoinPenny.com | "When it comes to bitcoin swag, we make perfect CENTS!"
1715357763
Hero Member
*
Offline Offline

Posts: 1715357763

View Profile Personal Message (Offline)

Ignore
1715357763
Reply with quote  #2

1715357763
Report to moderator
1715357763
Hero Member
*
Offline Offline

Posts: 1715357763

View Profile Personal Message (Offline)

Ignore
1715357763
Reply with quote  #2

1715357763
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715357763
Hero Member
*
Offline Offline

Posts: 1715357763

View Profile Personal Message (Offline)

Ignore
1715357763
Reply with quote  #2

1715357763
Report to moderator
1715357763
Hero Member
*
Offline Offline

Posts: 1715357763

View Profile Personal Message (Offline)

Ignore
1715357763
Reply with quote  #2

1715357763
Report to moderator
zebedee
Donator
Hero Member
*
Offline Offline

Activity: 668
Merit: 500



View Profile
April 22, 2015, 12:20:08 PM
 #42

In a slightly earlier version of Satoshi's code (pre-genesis) the limit was 20 million bitcoins.  Blocks were set to arrive every 15 minutes with an initial subsidy of 100 BTC set to halve every 100`000 blocks (about 2 years and 10 months).

Certainly there was some thought put into the magnitude of the limit.  While Satoshi had 63-bits of space to play with (using signed 64-bit integers at the time) it seems possible that he intentionally confined bitcoin amounts to well within 53-bits so that amounts could be handled comfortably by the IEEE 754 binary64 datatype (potentially useful for JSON-RPC).

What we can be reasonably sure of is that the particular figure of 21 million arose simply as part of some last-minute tweaking and carries no deeper meaning.
Interesting - where is this code available to support your claim (not that I don't believe you, but I'd like to see it).
zebedee
Donator
Hero Member
*
Offline Offline

Activity: 668
Merit: 500



View Profile
April 22, 2015, 12:22:34 PM
 #43

Total number of bitcoins to ever exist is 20999999.97690000, a little less than 21 million. Smiley
No, as discussed on this thread:

https://bitcointalk.org/index.php?topic=1029082

at least "150 + a bit" of those coins never existed in the first place (3 unspendable coinbases + miners refusing the full reward + fees).
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1004



View Profile
April 22, 2015, 01:00:34 PM
 #44

In a slightly earlier version of Satoshi's code (pre-genesis) the limit was 20 million bitcoins.  Blocks were set to arrive every 15 minutes with an initial subsidy of 100 BTC set to halve every 100`000 blocks (about 2 years and 10 months).

Certainly there was some thought put into the magnitude of the limit.  While Satoshi had 63-bits of space to play with (using signed 64-bit integers at the time) it seems possible that he intentionally confined bitcoin amounts to well within 53-bits so that amounts could be handled comfortably by the IEEE 754 binary64 datatype (potentially useful for JSON-RPC).

What we can be reasonably sure of is that the particular figure of 21 million arose simply as part of some last-minute tweaking and carries no deeper meaning.
Interesting - where is this code available to support your claim (not that I don't believe you, but I'd like to see it).

I'm surprised I didn't provide a link to begin with.  I must have been in a hurry.

Cryddit posted the source of an alpha snapshot of the reference client here.  Search the page for "GetNextWorkRequired".  You should find all the information you're looking for within this function.

Please let me know if you end up with different numbers.  I routinely screw up idle calculations.
ensurance982
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


Trust me!


View Profile
April 22, 2015, 02:28:39 PM
 #45

In a slightly earlier version of Satoshi's code (pre-genesis) the limit was 20 million bitcoins.  Blocks were set to arrive every 15 minutes with an initial subsidy of 100 BTC set to halve every 100`000 blocks (about 2 years and 10 months).

Certainly there was some thought put into the magnitude of the limit.  While Satoshi had 63-bits of space to play with (using signed 64-bit integers at the time) it seems possible that he intentionally confined bitcoin amounts to well within 53-bits so that amounts could be handled comfortably by the IEEE 754 binary64 datatype (potentially useful for JSON-RPC).

What we can be reasonably sure of is that the particular figure of 21 million arose simply as part of some last-minute tweaking and carries no deeper meaning.
Interesting - where is this code available to support your claim (not that I don't believe you, but I'd like to see it).

I'm surprised I didn't provide a link to begin with.  I must have been in a hurry.

Cryddit posted the source of an alpha snapshot of the reference client here.  Search the page for "GetNextWorkRequired".  You should find all the information you're looking for within this function.

Please let me know if you end up with different numbers.  I routinely screw up idle calculations.

Highly interesting! I always find it very interesting to see early versions or concepts of things and like to dig around to see what has changed and what remained until the final version. I think the most important factor is that every basic addition of an amount must be doable with a given integer representation using 64 bit, yeah!

                                                                                                                      We Support Currencies: BTC, LTC, USD, EUR, GBP
BTC_Superman
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 14, 2015, 02:09:13 PM
 #46

I do not think Satoshi chose it intentionally, he chose it randomly.
Pages: « 1 2 [3]  All
  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!