spesmilo / spesmilo/electrum

discard change UTXOs below set value (minimum change threshold)

Open
#5,359 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ✨ privacy 🕵️‍♂️ topic-fees topic-wallet 👛
Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

For wallets with a moderate to large number of UTXOs, it is often possible to create a transaction with inputs that sum up to reasonably close to a required value. Even so, you will usually end up with a small change output, which will reduce user privacy whenever it spent in a different transaction.

As such, it would be nice if Electrum exposed a setting in the GUI or even just in the config file where you could set the smallest change transaction you wish to create; that is, what the wallet considers "dust" when creating change UTXOs.

While you can manually select coins and/or manually set the fee to match the change output today to get this behavior, this is fiddly and time-consuming, and not something most people would bother with. Obviously, a computer is also able to test a much larger combination of UTXOs than a human would ever be able to.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by tracing the existing manual coin-selection and fee-setting paths, then review how GUI or configuration settings are represented. Define the minimum change threshold behavior for transaction creation and verify that small change outputs are omitted while normal change remains possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.