Don't redo script validation in re-reorg #6046

issue sipa opened this issue on April 22, 2015
  1. sipa commented at 4:17 PM on April 22, 2015: member

    In case a block was already validated, and BLOCK_VALID_SCRIPT was set on it, don't redo script validation. This probably hardly ever happens in practice (it would require validating a block, reorging away from it, and reorging back to it), but it's the more sane thing to do - do validation when we don't already know it's done.

    This may mean that the reconsiderblock RPC needs to changed to unset that validation flag.

  2. laanwj added the label UTXO Db and Indexes on May 18, 2015
  3. MarcoFalke commented at 9:17 PM on February 12, 2019: member

    Seems like a obscure edge case to keep a feature request open

  4. MarcoFalke commented at 6:06 AM on May 19, 2022: member

    The feature request didn't seem to attract much attention in the past. Also, the issue seems not important enough right now to keep it sitting around idle in the list of open issues.

    Closing due to lack of interest. Pull requests with improvements are always welcome.

  5. MarcoFalke closed this on May 19, 2022

  6. DrahtBot locked this on May 19, 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-20 12:15 UTC

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