-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
lnd sends announcement_signatures before reestablish_channel #2940
Comments
Hmm, BOLT 2 section on Message Retransmission says that BOLT 7 messages are not required to wait for ChannelReestablish: and BOLT 7 does not include anything about ChannelReestablish in the retransmission requirements for AnnouncementSignatures, AFAICT. I assume then, that this the issue in regards to delaying BOLT 7 messages only if:
If I understand correctly, what is the benefit of being able to send info about everyone else's channels immediately, but withhold relevant gossip info from your channel partner until after ChannelReestablish? |
Closing as a duplicate of #2555. |
Background
You're supposed to send reestablish first, and also wait for the reply.
ElementsProject/lightning#2559
Your environment
The source was Pierre Rochard's node, which he tells me is 0.5.2-99-beta commit=queue/v1.0.1-109-g9f6a1403e9773ba97ec0e9fdee3b654789970d3a
Steps to reproduce
Take your c-lightning node (minus above fix) up and down several times while lnd connects with a relatively fresh channel.
Expected behaviour
Delay other channel msgs until REESTABLISH sent and received.
Actual behaviour
Rusty writes nasty code in c-lightning to defer unexpected packets. We had an earlier issue with funding_locked, but I had special cased that. Now I just defer all weird stuff.
The text was updated successfully, but these errors were encountered: