GetBlockValue() only works as expected upto block 13,440,000 #3776

issue ditto-b opened this issue on March 2, 2014
  1. ditto-b commented at 12:03 AM on March 2, 2014: contributor

    This gives nSubsidy >>= 64, which is equal to the length of the type. This operation is undefined so the initial value of nSubsidy remains (50BTC per block).

  2. jmcorgan commented at 12:43 AM on March 2, 2014: contributor

    This was originally reported and discussed here:

    https://bitcointalk.org/index.php?topic=130614.msg1399528#msg1399528

  3. gavinandresen added the label Priority Low on Mar 2, 2014
  4. laanwj commented at 11:30 AM on March 7, 2014: member

    I sure hope this is fixed by Sun Mar 20 10:58:04 2264 :)

  5. ditto-b commented at 1:25 PM on March 7, 2014: contributor

    It's a couple of centuries too early, but I submitted a pull request anyway.

    #3813

  6. ditto-b cross-referenced this on Mar 10, 2014 from issue Fix for GetBlockValue() after block 13,440,000 by ditto-b
  7. laanwj closed this on May 13, 2014

  8. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC