-
Notifications
You must be signed in to change notification settings - Fork 407
Check Bolt 2 spec #240
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
Comments
Bolt 2 spec says this on open channel: Currently we store and accept channel message's on channel_id's and not on node_id's |
The spec is kinda inconsistent - originally it was written assuming one-channel-per-node but that was thrown out, so looks like a spec bug to me, but we do comply with that text as we'll drop the channel on disconnection if we never received the funding_created. |
Unchecked funding_signed - it still has some HandleError::action: None's in there. I've got a pending patchset to finish it off, though. Also as things get marked completed we should move from HandleError directly to ChannelError. |
Update fee is missing spec |
message retransmission is missing |
Pretty much all the message retransmission should work, though isn't sufficiently tested at this point.
…On November 6, 2018 9:35:08 AM UTC, SW van Heerden ***@***.***> wrote:
message retransmission is missing
#239 and #238
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#240 (comment)
|
It looks fine, thats why I ticket it off. Those two are optional, although they are good ideas |
Audit of Bolt 2 spec for Closing Negotiation - closing_signed
|
Note that the closing_signed dropped-output stuff is pretty clearly broken, and we currently incorrectly fail channels when the remote node sends commitment_signeds with HTLC removes after shutdown messages. I saw a number of other bugs I dont recall anymore when looking at it last week but as noted in #250 I kinda gave up until that part of the spec gets rewritten. WIthout good test coverage of individual things I dont think we can consider anything properly "audited". |
Closing as completed - most of the messages were audited as a part of this (thanks folks!) and the remaining ones have had plenty of eyeballs on them since (plus we'll be rewriting update_fee soon for update_fee v3 anyway!). |
Uh oh!
There was an error while loading. Please reload this page.
Audited
The text was updated successfully, but these errors were encountered: