-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement updated retransmission logic for splice_locked
#2987
Comments
I recreated a variant of the test outlined in the proposed updated Disconnection with concurrent splice_locked from splicing-test.md that ends with Alice sending
|
I think that's because you incorrectly modified the end of the test, isn't it? When does Bob retransmit So this shouldn't trigger a force-close on |
If Alice receives In my modified test the I'll keep my test the way it is unless there's some reason to expect Bob must send |
The sequence you're describing is impossible: I suspect that in your test you're intercepting The sequence you're artificially using in your test is impossible regardless of reestablish logic. Remember that we're in a case where Alice has sent That means that if Bob hasn't sent |
While working on taproot tests for splicing, @sstone discovered that what was previously a harmless race condition actually becomes an issue when using taproot channels. This is detailed in lightning/bolts#1223 and lead to changes in the reestablish logic to fix that race condition, which was added to the splicing spec in lightning/bolts@2c1b500
I think we should implement those changes immediately in
eclair
andlightning-kmp
, with the following tweaks for backwards-compatibility:my_current_funding_locked
splice_locked
like we currently domy_current_funding_locked
yet, because current nodes don't know how to read it and it has an even typeThe text was updated successfully, but these errors were encountered: