<p>detailed write up on this question and answer here: <a href="https://stacker.news/items/458544/r/BITC0IN" rel="nofollow noreferrer">https://stacker.news/items/458544/r/BITC0IN</a></p>
<p>boils down to:</p>
<blockquote>
<p>One fun nuance of C++ code is that integers are truncated when used as Satoshi did. This ends up somewhat reducing the total supply of Bitcoin in this 2008 code, from what looks like 2 billion bitcoin at first.</p>
</blockquote>
<blockquote>
<p>The result of this truncation on supply is a very specific total: 19,999,898,800,000 satoshis or 1,999,989,880 Bitcoin. Thanks to MrRGnome for pointing this out: &quot;it's possible Satoshi didn't even realize this rounding was happening.&quot;</p>
</blockquote>
<p><a href="https://i.sstatic.net/89lkq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/89lkq.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2024-03-10T13:13:55.243Z
2024-03-10T20:48:27.447Z
2024-03-10T20:48:27.447Z
Fiach-Dubh
<p>So I'm doing some research into this Bitcoin code that apparently pre-dates the first release of Bitcoin v0.01 <a href="https://bitcointalk.org/index.php?topic=382374.0" rel="nofollow noreferrer">https://bitcointalk.org/index.php?topic=382374.0</a></p>
<p>There's a lot of differences in this code when compared to v0.01 , But I'm mainly interested in the supply of Bitcoin implied/outlined in this apparent first/early draft code of Bitcoin.</p>
<p>I've tracked down two parameters that imply the supply would either have been 20 Trillion Satoshi’s TOTAL (2 Billion Bitcoin)</p>
<p>OR</p>
<p>It would have been just 2 Billion Bitcoin units TOTAL, with NO decimals/sub-bitcoin satoshi units, because of coding semantics?</p>
<p>So I'm here for a second opinion from the experts!</p>
<p>Hopefully I can express this well and my math is correct:</p>
<p>&quot;The second big coding difference is that the initial block reward is not 50.00000000 Bitcoin BUT 10000.0000 Bitcoin(?). This doesn’t imply a total supply of 2.1 Qudrillion Satoshis (21 Million Bitcoin), BUT 20 Trillion Satoshi’s TOTAL instead (2 Billion Bitcoin)!</p>
<p>Notice the decimal place difference here too. In Satoshi’s first draft of Bitcoin, he envisioned there being only four decimal places, instead of eight. But the coinbase reward was also significantly larger at 10000 Bitcoin per block, instead of 50.</p>
<p>Furthermore, the halving was scheduled for every 100000 blocks, instead of 210000 blocks. The block time target was aimed at 15 minutes instead of 10 minutes too. This implied a halving of approximately every 34 months, or 2.85 years. Not every four years.&quot;</p>
<p><a href="https://i.sstatic.net/AShF2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AShF2.png" alt="enter image description here" /></a></p>
<p>The above two code sections seem to be relevant here. But notice the first only has a value of 10000. While this section of code in v0.01 is 50*COIN where COIN is 100 million units.</p>
<p>Does this then imply that there were no decimal place/satoshi units in this first draft of Bitcoin, because there is no &quot; * COIN &quot; or &quot; * CENT &quot; on top of the 10000 base reward?</p>
<p>the second line of code where we have &quot; 10000 * CENT &quot; (where CENT also = 10000) implies a number system of 10000.0000 units. BUT, since this is missing from the first picture of code, are there even any satoshi/decimal units here effectively?</p>
<p>Thank you for your consideration and insights into this code!</p>

<history><money-supply><satoshi-nakamoto><satoshi><supply>
What was Bitcoin's Supply in the Pre-Alpha Release? (posted by Cryddit on Bitcointalk in 2013)
Fiach-Dubh
# What was Bitcoin's Supply in the Pre-Alpha Release? (posted by Cryddit on Bitcointalk in 2013)

(Asked by: username_0 on 2024-03-05)

So I'm doing some research into this Bitcoin code that apparently pre-dates the first release of Bitcoin v0.01 <https://bitcointalk.org/index.php?topic=382374.0>

There's a lot of differences in this code when compared to v0.01 , But I'm mainly interested in the supply of Bitcoin implied/outlined in this apparent first/early draft code of Bitcoin.

I've tracked down two parameters that imply the supply would either have been 20 Trillion Satoshi’s TOTAL (2 Billion Bitcoin)

OR

It would have been just 2 Billion Bitcoin units TOTAL, with NO decimals/sub-bitcoin satoshi units, because of coding semantics?

So I'm here for a second opinion from the experts!

Hopefully I can express this well and my math is correct:

"The second big coding difference is that the initial block reward is not 50.00000000 Bitcoin BUT 10000.0000 Bitcoin(?). This doesn’t imply a total supply of 2.1 Qudrillion Satoshis (21 Million Bitcoin), BUT 20 Trillion Satoshi’s TOTAL instead (2 Billion Bitcoin)!

Notice the decimal place difference here too. In Satoshi’s first draft of Bitcoin, he envisioned there being only four decimal places, instead of eight. But the coinbase reward was also significantly larger at 10000 Bitcoin per block, instead of 50.

Furthermore, the halving was scheduled for every 100000 blocks, instead of 210000 blocks. The block time target was aimed at 15 minutes instead of 10 minutes too. This implied a halving of approximately every 34 months, or 2.85 years. Not every four years."

[![enter image description here](https://i.sstatic.net/AShF2.png)](https://i.sstatic.net/AShF2.png)

The above two code sections seem to be relevant here. But notice the first only has a value of 10000. While this section of code in v0.01 is 50\*COIN where COIN is 100 million units.

Does this then imply that there were no decimal place/satoshi units in this first draft of Bitcoin, because there is no " \* COIN " or " \* CENT " on top of the 10000 base reward?

the second line of code where we have " 10000 \* CENT " (where CENT also = 10000) implies a number system of 10000.0000 units. BUT, since this is missing from the first picture of code, are there even any satoshi/decimal units here effectively?

Thank you for your consideration and insights into this code!

**Tags:** history, money-supply, satoshi-nakamoto, satoshi, supply


---

## 1 answers

### Answer by username_0 on 2024-03-10. Score: 0 | Accepted answer

detailed write up on this question and answer here: <https://stacker.news/items/458544/r/BITC0IN>

boils down to:

> One fun nuance of C++ code is that integers are truncated when used as Satoshi did. This ends up somewhat reducing the total supply of Bitcoin in this 2008 code, from what looks like 2 billion bitcoin at first.

> The result of this truncation on supply is a very specific total: 19,999,898,800,000 satoshis or 1,999,989,880 Bitcoin. Thanks to MrRGnome for pointing this out: "it's possible Satoshi didn't even realize this rounding was happening."

[![enter image description here](https://i.sstatic.net/89lkq.png)](https://i.sstatic.net/89lkq.png)


---

