Skip to content

Instantly share code, notes, and snippets.

@ddustin
Last active April 4, 2025 17:47
Show Gist options
  • Save ddustin/34bca3aac53f0cd0e0ae779e8a296701 to your computer and use it in GitHub Desktop.
Save ddustin/34bca3aac53f0cd0e0ae779e8a296701 to your computer and use it in GitHub Desktop.
   Alice                           Bob
     |                              |
     | splice_locked       -------> |
     | update_add_htlc     -------> |
     | commit_sig          -------> | batch_size=2, funding_tx=funding_tx_1
     | commit_sig          -------> | batch_size=2, funding_tx=funding_tx_2
     |                splice_locked | (recieved)
     | <-------       splice_locked | (sent)
     |                              | NOTE: Bob now expects a single commit_sig
     |              update_add_htlc | (recieved)
     |                   commit_sig | (recieved) batch_size=2, funding_tx=funding_tx_1
     |                   commit_sig | (recieved) batch_size=2, funding_tx=funding_tx_2
     |                              | NOTE: Bob now errors with two commit sigs!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment