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

Ensure that LN channel can be updated during split channel update #117

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

Comments

@luckysori
Copy link
Collaborator

We have no tests to verify that we can handle receiving updates to the commitment transaction via LDK whilst we are in the middle of an LN-DLC protocol (open/close sub-channel).

LDK will need to update the LN commitment transaction automatically to route payments or when updating fees. A consumer of rust-dlc could avoid creating invoices or sending payments at certain points in time to prevent clashes, but the automatic updates are unavoidable.

I would recommend to write the tests first to reproduce scenarios in which we break the channel if these things happen simultaneously. And then we can proceed with implementing a solution.

Mentioned in this thread #116 (comment)

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