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 cross-referenced this on Sep 9, 2022 from issue test: invalidating an unknown block throws an error by brunoerg
  4. brunoerg marked this as ready for review on Sep 9, 2022
  5. 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

  6. 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.

  7. test: verify best blockhash after invalidating an unknown block 4f67336f11
  8. brunoerg force-pushed on Sep 9, 2022
  9. 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
  10. brunoerg commented at 4:51 PM on September 9, 2022: contributor

    Force-pushed addressing @instagibbs's suggestion.

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

    ACK 4f67336f1105b7c34a9e8cdafa603edc1d899fb9

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

    I reviewed to learn what is going on.

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

  15. sidhujag referenced this in commit dce770f7ae on Sep 11, 2022
  16. 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-05-20 06:53 UTC