Uh oh!
There was an error while loading. Please reload this page.
Add Splicing (and Quiescence) wire message definitions - #2544
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@## main #2544 +/- ##
==========================================
- Coverage 88.85% 88.68% -0.17%
==========================================
Files 113 113 Lines 89170 89344 +174 Branches 89170 89344 +174 ==========================================
+ Hits 79228 79238 +10 - Misses 7699 7859 +160 - Partials 2243 2247 +4
☔ View full report in Codecov by Sentry. |
dunxen
commented
Sep 1, 2023
Thanks! Yeah, due to the drafty nature of the spec, there's no rush to merge this, but then again it can always be reworked as they're also not yet used in release.
Oh, really? Spec PR probably hasn't been updated in while. Thanks for tracking it. Then we'll definitely keep this draft until there's a clear type. |
d4288b9 to
2ddc70fCompareoptout21
commented
Sep 4, 2023
Did some changes to be in sync with CLN, as opposed to the outdated version of the spec (but this will need confirmation):
Note: definition in CLN https://github.com/ElementsProject/lightning/blob/master/wire/peer_wire.csv#L209 |
e1e2870 to
1e9eeceCompareoptout21
commented
Oct 27, 2023
This is on hold, due to the spec not being updated. Above changes are in sync with the CLN implementation, but not the spec. Specifically, using Therefore I suggest to take this as a confirmation, and do not necessarily wait for spec update with this PR. I will wrap up with adding fuzzing tests and propose for review. |
moneyball
commented
Oct 27, 2023
Out of curiosity what do Eclair/Phoenix do? |
optout21
commented
Oct 27, 2023
They are currently using nonstandard |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dunxen
commented
Nov 7, 2023
Nice. I think we can squash the fix ups and formatting commits now :) |
optout21
commented
Nov 7, 2023
Squashed and rebased |
TheBlueMatt
left a comment
There was a problem hiding this comment.
I'll trust @dunxen on the message encodings and contents.
Add Splicing and Quiescence wire messages.
The messages are defined in the LN spec PR 863 (draft). Note that the spec PR is currently a draft, it needs a rebase, and does not reflect the latest state of discussions.
The following messages are added:
stfu(2)splice(75* -- see notes below)splice_ack(76)splice_locked(77)Fixes#2542 .
Note that current spec PR specifies type
74forsplicemessage, but that value is already used (bytx_abort), so value75is used as of now in this PR.TODO:
splicemsg