Bugfix: only remove actualy failed blocks from setBlockIndexValid #4496

pull sipa wants to merge 1 commits into bitcoin:master from sipa:dropfailself changing 1 files +2 −1
  1. sipa commented at 3:44 pm on July 9, 2014: member

    Fix an unexposed bug in dealing with invalid blocks: only chains with actually invalid blocks should be removed from the set of potentially new tips.

    Also, in case an error is found, the failed block itself must be removed from that set.

    This would be exposed by #4468.

  2. Only remove actualy failed blocks from setBlockIndexValid 5734d4d1e6
  3. sipa commented at 4:31 pm on July 9, 2014: member
    Oops, stale negation. Fixed.
  4. BitcoinPullTester commented at 6:13 pm on July 9, 2014: none
    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4496_5734d4d1e6ee89361fc2484f5d33315397796c0d/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
  5. laanwj commented at 4:17 pm on July 23, 2014: member
    Tested ACK
  6. laanwj merged this on Jul 24, 2014
  7. laanwj closed this on Jul 24, 2014

  8. laanwj referenced this in commit 70d0325999 on Jul 24, 2014
  9. 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: 2024-11-17 12:12 UTC

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