Bitcoin Forum
October 10, 2024, 01:19:02 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Parts of the code related to the 21 million limit  (Read 780 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1122
Merit: 1017


ASMR El Salvador


View Profile WWW
February 15, 2013, 09:15:15 PM
 #1

Can someone please show us images of snapshots of all parts of code of the earlier bitcoin client that you think are particularly related to the 21 million limit imposition.

It would be very much appreciated.

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1181


View Profile WWW
February 15, 2013, 09:18:27 PM
 #2

Here, in the v0.7.2 source code, is the function that calculates the reward per block at a given height. The 21M limit comes from adding all the resulting rewards.

I do Bitcoin stuff.
d'aniel
Sr. Member
****
Offline Offline

Activity: 461
Merit: 251


View Profile
February 15, 2013, 09:23:45 PM
 #3

I feel like that simple little function could make for some good geeky marketing Smiley
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!