Global Feed Post Login
Avatar
securtybrahh 7mo ago

nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3yamnwvaz7tmwdaehgun4v5hxxmmd9uq3uamnwvaz7tmwdaehgu3dwp6kytnhv4kxcmmjv3jhytnwv46z7qg4waehxw309aex2mrp0yhxgctdw4eju6t09uq3qamnwvaz7tmwdaehgu3wd4hk6tcqyqsc8628tpyp6rcjf77e83tve2j9ulj5tnht34fgfrucy5l5j7uh29z5cld Where are the exact Lines of code in bitcoin-core that caps its supply?

Reply to this note

Please Login to reply.

Discussion

Avatar
Super Testnet 7mo ago

The function that caps the supply is called GetBlockSubsidy()

It is currently located at line 1942 of the file validation.cpp:

https://github.com/bitcoin/bitcoin/blob/7710a31f0cb69a04529f39840196826d0b9770ab/src/validation.cpp#L1942

Thread collapsed