test: verify best blockhash after invalidating an unknown block #26054

pull brunoerg wants to merge 1 commits into bitcoin:master from brunoerg:2022-09-fix-test-invalidateblock changing 1 files +1 −2
  1. brunoerg commented at 4:15 PM on September 9, 2022: contributor

    Fixes #26051

    Verify the best blockhash is the same after invalidating an unknown block, not the whole getchaintip response.

  2. fanquake added the label Tests on Sep 9, 2022
  3. brunoerg marked this as ready for review on Sep 9, 2022
  4. instagibbs commented at 4:25 PM on September 9, 2022: member

    if we're just checking that active tip didn't change, I think a simple getbestblockhash works

  5. brunoerg commented at 4:47 PM on September 9, 2022: contributor

    if we're just checking that active tip didn't change, I think a simple getbestblockhash works

    I agree. Gonna change it.

  6. test: verify best blockhash after invalidating an unknown block 4f67336f11
  7. brunoerg force-pushed on Sep 9, 2022
  8. brunoerg renamed this:
    test: verify active chaintip after invalidating an unknown block
    test: verify best blockhash after invalidating an unknown block
    on Sep 9, 2022
  9. brunoerg commented at 4:51 PM on September 9, 2022: contributor

    Force-pushed addressing @instagibbs's suggestion.

  10. instagibbs commented at 4:56 PM on September 9, 2022: member

    ACK 4f67336f1105b7c34a9e8cdafa603edc1d899fb9

  11. amovfx commented at 6:31 PM on September 9, 2022: none

    I reviewed to learn what is going on.

  12. MarcoFalke merged this on Sep 10, 2022
  13. MarcoFalke closed this on Sep 10, 2022

  14. sidhujag referenced this in commit dce770f7ae on Sep 11, 2022
  15. bitcoin locked this on Sep 10, 2023

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-25 21:14 UTC

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