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

history export: make fees bitcoin, add hook, rm local tx

Public commit record

What the developer wrote

Authored by f321x

81/100 · Strong
history export: make fees bitcoin, add hook, rm local tx

Change fees from sats to bitcoin so the fee value is consistent with the
other values.
Fixes #10445

Also adds a plugin hook so plugins can create fancy history exports.

And stops adding unconfirmed/local transactions to the history as they
are unordered and make the export non-deterministic. Also transactions
that haven't happened yet don't seem useful for accounting.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit changes how Electrum exports a wallet's transaction history to a CSV or JSON file. It switches the fee column from satoshis (tiny Bitcoin units) to whole bitcoin units so it matches other amount columns, lets plugins take over history export entirely, and removes unconfirmed/local transactions from the export because their order isn't stable and they aren't useful for accounting. There is no direct security fix here; it is a usability/consistency improvement for exported reports.

Recommended action

No immediate security action required. Treat as a normal feature/usability update. If reviewing for security, verify that the new plugin hook is documented and that plugins replacing export_history_to_file handle file_path safely, since the hook short-circuits the built-in exporter.

Security signals we found

01

No memory-safety, cryptographic, or authorization changes

02

No input validation or parsing changes

03

Plugin hook added: run_hook('export_history_to_file', ...) allows third-party plugins to replace the export behavior

04

Export data semantics changed: fee values converted from satoshis to bitcoin units; unconfirmed/local transactions excluded

Risk score

Why this scored 19/100

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