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

node: expose Chain::isSighashRangeproofActive() (tip-based dynafed check)

Public commit record

What the developer wrote

Authored by Byron Hambly

73/100 · Adequate
node: expose Chain::isSighashRangeproofActive() (tip-based dynafed check)

Add a Chain interface method that reports whether SIGHASH_RANGEPROOF is
active for signing at the current chain tip, mirroring the mempool
standardness check (DeploymentActiveAfter for DEPLOYMENT_DYNA_FED). This
is the live-tip gating source used by the wallet and wallet-backed RPC to
decide the default pre-Taproot sighash.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds a small internal helper that lets the wallet ask the node whether a particular Elements feature (SIGHASH_RANGEPROOF) is active at the current chain tip. It is purely an exposure of existing chain-state information through a programming interface; it does not change consensus rules, transaction validation, or network behavior. There is no obvious security bug here.

Recommended action

No security action required. Review the follow-up wallet/RPC commits that consume this interface to ensure the default sighash selection logic is sound and does not produce non-standard or invalid signatures around activation boundaries.

Security signals we found

01

No memory safety issues visible in the diff

02

No change to consensus or mempool validation rules

03

Uses existing locking primitive cs_main consistent with surrounding code

04

Pure interface exposure of existing DeploymentActiveAfter check

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 3/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.