Skip to content
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

Store the announcement_signature in the database to work around some impls not sending it on reconnect #2409

Closed
cdecker opened this issue Feb 27, 2019 · 9 comments · Fixed by #2619
Assignees
Labels
good first issue good for onboarding gossip

Comments

@cdecker
Copy link
Member

cdecker commented Feb 27, 2019

Proposed by @SimonVrouwe here.

This should reduce the number of "Waiting for their announcement signature" channels dramatically.

@cdecker cdecker added gossip good first issue good for onboarding labels Feb 27, 2019
@trueptolemy
Copy link
Collaborator

If you don't hurry, I want to have a try.

@cdecker
Copy link
Member Author

cdecker commented Feb 28, 2019

Absolutely, go ahead. I can't add you as assignee until you accept my collaborator invitation, but consider yourself the owner of this issue 😉

@trueptolemy
Copy link
Collaborator

Absolutely, go ahead. I can't add you as assignee until you accept my collaborator invitation, but consider yourself the owner of this issue

thank u :) !

@jb55
Copy link
Collaborator

jb55 commented Apr 16, 2019

yikers, I haven't looked at my lightning node in awhile and saw this:

[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Channel announced."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[]
[
  "CHANNELD_NORMAL:Attempting to reconnect"
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Attempting to reconnect"
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Attempting to reconnect"
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Channel announced."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Reconnected, and reestablished.",
  "CHANNELD_NORMAL:Funding transaction locked. Waiting for their announcement signatures."
]
[
  "CHANNELD_NORMAL:Funding transaction locked. Channel announced."
]

@niftynei
Copy link
Collaborator

@jb55 i'm not sure what i'm looking at here. are these all in the same channel status, or did you edit it the output to condense it to just the statuses?

@jb55
Copy link
Collaborator

jb55 commented Apr 22, 2019

yeah sorry that was just lightning-cli listpeers | jq '.peers[] | .channels[].status'

I noticed with lnvis that all my channels were closed, and all my peers have these statuses. thought that was strange and found this and related issues.

@jb55
Copy link
Collaborator

jb55 commented Apr 22, 2019

Actually I'm not sure if they're "closed", but they're not in the listchannels?

@niftynei
Copy link
Collaborator

if they're waiting for announcement signatures they won't be 'announced' (no channel_announcement is sent), which means there's no record of them in gossip, which means they won't show up as available for routing in any other nodes' routemap. i believe listchannels pulls from gossip, which would explain why it's not there either.

@jb55
Copy link
Collaborator

jb55 commented May 27, 2019

yeah none of my channels are getting announced because of this. will try #2619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue good for onboarding gossip
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants