Bugfix + simplify special case for genesis #2190

pull sipa wants to merge 1 commits into bitcoin:master from sipa:fixgenesis changing 1 files +8 −15
  1. sipa commented at 11:41 PM on January 18, 2013: member

    The special case for the genesis block (it is not connected in the normal way, resulting in its coinbase being unspendable by definition) was not always enforced. When reconstructing the coins/ directory, it was connected normally. Beside being incorrect, since #2145, this resulted in a segfault at startup.

    This generalizes and simplifies the code for dealing with the special case, by moving it to ConnectBlock itself.

  2. Bugfix + simplify special case for genesis 8301ff5077
  3. BitcoinPullTester commented at 11:55 PM on January 18, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/8301ff5077d449c0f6ddf49f386685ea6a4dd16d for binaries and test log.

  4. jgarzik commented at 3:55 AM on January 19, 2013: contributor

    ACK

  5. gavinandresen referenced this in commit 5fca58cb8e on Jan 21, 2013
  6. gavinandresen merged this on Jan 21, 2013
  7. gavinandresen closed this on Jan 21, 2013

  8. sipa deleted the branch on May 3, 2013
  9. laudney referenced this in commit 2eea08bcc4 on Mar 19, 2014
  10. sidhujag referenced this in commit 4291caa805 on Jul 31, 2018
  11. DrahtBot 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-04-19 09:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me