-
Notifications
You must be signed in to change notification settings - Fork 3.3k
qml: let user finalize forward swap onchain tx before initiating swap #9992
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
base: master
Are you sure you want to change the base?
qml: let user finalize forward swap onchain tx before initiating swap #9992
Conversation
8595781
to
44a9a1f
Compare
e525c3a
to
0fe131b
Compare
Tested, works fine for me. Maybe the minimal allowed tx fee should be limited in the tx finalizer to an ETA limit < Also noticed these two qml logs while testing: When clicking on the input/output dropdown in the tx finalization dialog: I can also open separate issues if they are out of scope of this PR. |
Yes, good idea. I'm leaning towards disabling static fees in these cases, only allowing finalizing when dynamic fees (ETA, mempool) are available. What do you think @f321x?
There are a few places where these frontend issues are still logged. For the binding loops I don't really see how they are getting triggered. They seem to be harmless. The layout issues are sometimes logged when anchoring an Item outside a layout to items within a Layout. Also seems mostly harmless. |
0fe131b
to
60c5145
Compare
@accumulator i think only allowing ETA and capping the max allowed ETA would be the safest way. Static rates and mempool seem easy to get wrong for the funding tx. It seems nice to have the flexibility to save some fees for non-urgent swaps but the risk of a failing (refunded) swap by setting too low fees should be minimal imo. |
7a8466f
to
c059037
Compare
c059037
to
72b16eb
Compare
No description provided.