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

wallet: unconfirmed ancestors and descendants are always truc

Public commit record

What the developer wrote

Authored by ishaanam

50/100 · Thin
wallet: unconfirmed ancestors and descendants are always truc
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This Bitcoin Core wallet patch changes how the wallet selects unconfirmed coins to spend. It adds a filter so that when a user is building a transaction, unconfirmed ancestor or descendant coins are only used if their transaction version matches the version chosen for the new transaction. The commit title says these unconfirmed relatives are 'always TRUC' (a new v3 transaction version type). The change prevents mixing v3 (TRUC) and non-v3 unconfirmed coins in the same spend, which could otherwise cause the resulting transaction to violate network relay rules and get rejected.

Recommended action

Reviewers should verify that TRUC_VERSION is correctly defined in policy/truc_policy.h, that m_version in CCoinControl is reliably set for all transaction-construction paths, and that no edge cases exist where check_version_trucness remains enabled unexpectedly. Users running nodes/wallets with TRUC support should ensure they are on a version containing this fix to avoid constructing invalid spends from unconfirmed TRUC relatives.

Security signals we found

01

Transaction version policy enforcement added to coin selection

02

Prevents mixing TRUC (v3) and non-TRUC unconfirmed inputs/ancestors

03

Avoids creation of transactions that may be rejected by mempool policy

04

Default-on filtering with explicit opt-out for listing operations

Risk score

Why this scored 27/100

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