-
Notifications
You must be signed in to change notification settings - Fork 45
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
Exposing fees in ReverseSwapInfo
#1111
Comments
Thanks @danielgranhao. |
Working on exposing the reverse swap fees. I was thinking about backfilling the fees for the existing swaps by looking at onchain transaction fees. But the tx ids are only persisted in the local storage, not the sync storage. So this data is lost when you lose your local data. So a 2-fold question to @danielgranhao and @roeierez:
|
@JssDWt moving forward without backfilling the old swaps is fine enough IMO for this PR. |
I've just noticed I created another version of this issue earlier. It's almost an exact duplicate, but it also asks to add the recipient onchain address to |
Sending an onchain payment using a reverse swap results in a
Payment
that contains aReverseSwapInfo
. It would be useful ifReverseSwapInfo
included the fees that were spent for the lockup and claim txs, as well as the swap provider fees. Right now we can only find out how much was spent on fees in total by comparing the sent LN funds and the resulting sent onchain funds.The text was updated successfully, but these errors were encountered: