Skip to content
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 to configure what party pays for the on-chain transaction fee on force closure #127

Open
luckysori opened this issue Jul 20, 2023 · 0 comments
Labels

Comments

@luckysori
Copy link
Collaborator

luckysori commented Jul 20, 2023

10101 creates inbound channels with its users. The fees for force-closing the ln-channel is always paid by the initiator, but for the dlc channel its always 50/50 with the offering party paying the extra sat if the fees are not mod 2.

We need a way of configuring that 50/50 split to allow for a similar approach like a vanilla lightning channel. Ideally only the initiator pays for any fees related to onchain-transactions for force-closing a channel. Thus to de-incentivise force closures.

Additionally we might want to consider always letting the user pay for on-chain transaction fees when force-closing a dlc channel as the user should come online again to either collab close or "rollover" the position.

@Tibo-lg mentioned that this might be a good opportunity to incorporate recent changes from rust-bitcoin in terms of fee calculation.

// edit: @holzeis added additional description

@holzeis holzeis added this to LN-DLC Jul 20, 2023
@luckysori luckysori converted this from a draft issue Jul 20, 2023
@luckysori luckysori added the ln label Jul 20, 2023
@luckysori luckysori moved this to Todo in LN-DLC Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant