Title: How are block rewards calculated in the Bitcoin code? Post by: cloudboy on April 28, 2014, 07:08:18 AM I see the GetBlockValue() function:
Code: int64_t GetBlockValue(int nHeight, int64_t nFees) I understand that the bitwise right shift once nHeight is large enough will halve the block reward. What I am confused about is
Sorry if these have been answered or seem trivial. Looking at this code for the first time can be a little overwhelming when you aren't familiar with it. Thank you. --Update: Figured it out. Maybe it will be useful for someone else in the future. Mods please close. Title: Re: How are block rewards calculated in the Bitcoin code? Post by: DannyHamilton on April 28, 2014, 01:21:21 PM Mods please close. You can close your own threads. Bottom left corner of the page you should see a link that says "lock topic". |