spesmilo / spesmilo/electrum

increase fee - choose larger output to be lowered (rbf, bump fee)

Open
#2,889 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I accidentally sent transaction with too low fee.
The transaction has 2 outputs. One output needs to be an exact amount and the rest in the other output is higher amount than first output.

If I now use increase fee then it decreases amount of the lowest output which shouldn't be decreased in my case.
Is there any way I can have the larger output to be decreased in favour of fee instead of the lower output?

Note that I am not recipient of either output so I can't use child pays for parent.

Thanks.

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

No file or test is named. Start by locating the increase-fee/RBF transaction-building and output-selection entry points, then trace how outputs are chosen for fee reduction. Done means the larger change output can be reduced while the exact-amount output remains unchanged, with regression coverage for this two-output case.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.