AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Bitcoin

test: set par=2 in default config for functional test framework

Public commit record

What the developer wrote

Authored by Andrew Toth

95/100 · Strong
test: set par=2 in default config for functional test framework

Depending on the host machine, a default `par` value can spawn up to 15 script verification threads for each node.
Running the functional test suite with default `par` can exhaust file descriptors or hit other resource limits when many threads are spawned.
These threads are mostly idle and the same code paths are executed with a value of `par=2`.
Limit this to 2 for functional tests that do not override the default option.

Co-authored-by: maflcko <6399679+maflcko@users.noreply.github.com>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This change only affects Bitcoin Core's internal functional test framework. It limits the number of script verification threads used during automated tests to avoid running out of file descriptors or hitting other resource limits on the test machine. It does not change production Bitcoin node behavior and is not a security fix for live software.

Recommended action

No action needed. This is a test-only resource-tuning change. Reviewers may verify that functional tests still pass and that the chosen cap of 2 is appropriate across CI environments.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.