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

wallet: Determine IsFromMe by checking for TXOs of inputs

Public commit record

What the developer wrote

Authored by Ava Chow

73/100 · Adequate
wallet: Determine IsFromMe by checking for TXOs of inputs

Instead of checking whether the total amount of inputs known by the
wallet is greater than 0, we should be checking for whether the input is
known by the wallet. This enables us to determine whether a transaction
spends an of output with an amount of 0, which is necessary for marking
0-value dust outputs as spent.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a wallet accounting bug. Previously, Bitcoin Core's wallet decided whether a transaction came from the user by checking whether the total value of its inputs was greater than zero. That approach missed inputs that are worth exactly zero (so-called 'dust' outputs). After the change, the wallet checks each input individually to see if it is known to the wallet, so even zero-value outputs are correctly recognized as spent. This is mainly a correctness fix for tracking tiny outputs and could affect how transactions are labeled, but it does not appear to be a direct theft-of-funds vulnerability.

Recommended action

Review related wallet logic that depends on IsFromMe (e.g., transaction listing, conflict detection, abandoned-transaction handling) to ensure the new behavior does not introduce regressions. Consider whether any RPC or GUI labels change for transactions that spend zero-value wallet outputs. No immediate emergency action is indicated.

Security signals we found

01

Logic error in wallet input attribution

02

Zero-value output handling edge case

03

Change in transaction ownership heuristic

Risk score

Why this scored 30/100

Our methodology →
Potential impact 8/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.