Avoid crash on start in TestBlockValidity with gen=1 (rework) #6123

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2015_05_gen1_startup changing 1 files +14 −1
  1. laanwj commented at 8:57 AM on May 12, 2015: member

    Replaces #6079.

    When the internal miner is enabled at the start of a new node, there is an near instant assert in TestBlockValidity because its attempting to mine a block before the top checkpoint.

    Also avoids a data race around vNodes.

  2. laanwj added the label Bug on May 12, 2015
  3. laanwj added this to the milestone 0.11.0 on May 12, 2015
  4. Avoid crash on start in TestBlockValidity with gen=1.
    When the internal miner is enabled at the start of a new node, there
     is an near instant assert in TestBlockValidity because its attempting
     to mine a block before the top checkpoint.
    
    Also avoids a data race around vNodes.
    bba7c24929
  5. laanwj force-pushed on May 12, 2015
  6. laanwj merged this on May 12, 2015
  7. laanwj closed this on May 12, 2015

  8. laanwj referenced this in commit 484821870b on May 12, 2015
  9. gmaxwell referenced this in commit da656068ec on May 12, 2015
  10. reddink referenced this in commit fbf66d9c0e on May 27, 2020
  11. MarcoFalke 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-13 15:15 UTC

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