Issue Details

Number
26757
Title
Unit tests skip code paths for `parallel_script_checks==false`
Description
The `Chainstate::ConnectBlock()` function is implemented in a way that different code paths are used during runtime depending on the `parallel_script_checks` flag's value. OTOH, the current test suit implementation with the following lines:https://github.com/bitcoin/bitcoin/blob/e9262ea32a6e1d364fb7974844fadc36f931f8c6/src/test/util/setup_common.cpp#L189-L190 sets the `parallel_script_checks` to `true` for all cases. For example, the outcome of `miner_tests` is affected by the `parallel_script_checks` flag's value.
URL
https://github.com/bitcoin/bitcoin/issue/26757
Closed by
Back to List