discard change UTXOs below set value (minimum change threshold)
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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