Hey i am trying to find the current version of the Bitcoin source code. Id like to look at the actual code itself. If someone could point me in the right direction i would appreciate it. I have looked at the bitcoin Git Hub but for the life of me i cant seem to find it.
Thanks
The most important part: https://github.com/bitcoin/bitcoin/blob/8243762700bc6e7876ae5d4fc000500858b99f66/src/validation.cpp#L1668-L1679
No less important than halvings.
/** No amount larger than this (in #satoshi) is valid.
*
Note that this constant is not the total money supply, which in #Bitcoin
currently happens to be less than 21,000,000 BTC for various reasons, but
rather a sanity check. As this sanity check is used by consensus-critical
validation code, the exact value of the MAX_MONEY constant is consensus
critical; in unusual circumstances like a(nother) overflow bug that allowed
for the creation of coins out of thin air modification could lead to a fork.
*/
https://imgprxy.stacker.news/ziIFzuRXIneXDVoE46Vqa_Ntv4nfVsDGIgeX5KcgYz0/rs:fit:1920:1080/aHR0cHM6Ly9pbWFnZS5ub3N0ci5idWlsZC85NmNlMmY5OWQzZDNjOWIxNTRmZjhjZjFhYTkzMGVjMWNkYmI1OTRkYzZiMTIzYTJlMmQ3NDg2NWY1YWJkMWFjLnBuZw
https://github.com/bitcoin/bitcoin/blob/master/src/consensus/amount.h
This is a good point--and also makes it clear why it's somewhat difficult (but not impossible) to change the number of decimals that make up the smallest unit on chain--it's not simply changing BITCOINS/100000000 (8 zeros) to BITCOINS/1000000000 (9 zeros).
thank you. This is what i was looking for.
https://bitcoincore.org/en/download/
https://image.nostr.build/1122902ae20f50f552a68785318b9765ead5e916994433944605af36b1fe44ef.png
Bitcoin Core on github: https://github.com/bitcoin/bitcoin