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

chainparams: make deployment configuration available on all test networks

Public commit record

What the developer wrote

Authored by Antoine Poinsot

83/100 · Strong
chainparams: make deployment configuration available on all test networks

This allows unit tests to set `-testactivationheight` and `-vbparams` on
all networks instead of exclusively on regtest. Those are kept
test-network-only when used as startup parameters.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit lets Bitcoin Core accept two testing-only command-line options on test networks (testnet, testnet4, signet) instead of only on regtest. It also adds an explicit guard so those options cannot be used on the real mainnet. The change is aimed at making unit tests more flexible, not at fixing a live security bug.

Recommended action

No immediate action required. Treat as a routine refactor/testability improvement. Reviewers may want to confirm the mainnet guard is reached before any deployment options are applied and that the default no-argument overloads cannot accidentally pass user-supplied args.

Security signals we found

01

Deployment parameter options expanded from regtest-only to all test networks

02

New mainnet guard explicitly prevents -testactivationheight and -vbparams on mainnet

03

Help text changed from 'regtest-only' to 'test-only'

04

No validation logic changes for production consensus rules

Risk score

Why this scored 18/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 2/15
Confidence 8/10
Evidence quality 4/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.