-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow decreasing the output value in RBF transactions #1491
Comments
Here are some screenshots of the current WIP. In this example we are taking 0.0001 from an external output and 0.0009428 from a change output to bump the fee from 0.0000378 to 0.0010806. It's hard to fit the output modification on a single screen, because the address can take up more than two lines. Here is an earlier attempt, where the new amount can easily overflow the screen: The same flow on TT: |
I like these screens 👍 |
The use-case that we are trying to solve by this is fee bumping when the original transaction is transferring the entire account balance ("Send Max"), in which case the only option is to take the fee bump from the external output. I am wondering, do we want to enforce that the decrease in the output amount is always used towards the fee, i.e. that it doesn't go back to the user's change address? I don't see any strong arguments either way, but I am curious if anyone has any opinion on this. |
Yes. We want this. That's why I wrote that none of the outputs' values are being increased in the process. Otherwise we'd allow users to create double-spends very easily. |
Summary of follow-up discussion IRL:
So far there doesn't seem to be any problem with allowing increasing of change-outputs in any scenario. As for external outputs, I think it makes sense to split it into two scenarios:
|
One more comment about the UI on T1. I can make it possible to go back and forth between the "Modify amount for address" screen and "Decrease amount by" screen, since logically they are the same screen and on the TT the user can swipe back and forth between them. @matejzak let me know if you'd like that, otherwise let's leave it for the UI redesign. |
Currently we don't allow user to decrease output values during the RBF process.
We could allow this providing the following is met:
The text was updated successfully, but these errors were encountered: