Last active
June 26, 2023 14:12
-
-
Save ddustin/017aeadfbf34d2fcd950f1238614afe2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
splice_locked -> | |
<- splice_locked | |
(Whichever side has lower funding pubkey starts STFU) | |
STFU -> | |
<- STFU (ack) | |
splice_locked_ack -> | |
<- splice_locked_ack | |
Receiving splice_locked_ack ends STFU mode and | |
means we can atomically move to the new channel | |
confirmed state. |
Yup that works but has a downside. If there is a delay between when each node sees the on-chain confirmation, we'll be quiescent for the length of that delay.
Agreed, that's not ideal. We'll need to thoroughly test potential races in the protocol to see whether we can make it right without quiescing again or not...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I'm starting to see what you mean. Doesn't that mean we just need to quiesce again to notify of a
splice_locked
? If we defersplice_locked
until we're quiescent again, does that race disappear?