Skip to content

Make on-close channel_update messages more robust #2711

Closed

Description

@TheBlueMatt

When we force-close a channel we send an advisory channel_update to the currently connected peers to let the world know that the channel is now closed (by setting the disable bit). This doesn't do anything if we force-close on startup, because we have no peers. We should retry broadcasting these at some point in the future by caching them a bit. Other nodes currently dont do this (and absolutely should), but for now we should at least make our more reliable.

Activity

  1. added this to the 0.0.119 milestone on Nov 6, 2023
  2. shaavan commented on Nov 11, 2023

    @shaavan
    Member

    Can I give this a try?

  3. TheBlueMatt commented on Nov 11, 2023

    @TheBlueMatt
    CollaboratorAuthor

    Yes, feel free. Not quite sure how we should go about this, probably looking at channelmonitors on startup.

  4. shaavan commented on Nov 12, 2023

    @shaavan
    Member

    I've tried expanding upon a different approach!

    I've been monitoring our node's ability to reach out to anyone when it's time to broadcast, whether that happens at startup or any other timer while the node is running.

    If, for some reason, we miss the broadcast, we'll just give it another go and resend the pending broadcast messages.

  5. TheBlueMatt commented on Nov 28, 2023

    @TheBlueMatt
    CollaboratorAuthor

    We should still try to get this done in 119, but if it slips to 120, there's really no reason we need to delay the release for it.

  6. shaavan commented on Nov 29, 2023

    @shaavan
    Member

    @TheBlueMatt
    A gentle ping! :)

    The PR resolving this issue (#2731) is ready for review.

  7. TheBlueMatt commented on Jan 17, 2024

    @TheBlueMatt
    CollaboratorAuthor

    Important, but not worth holding up a bug fix release for.

  8. modified the milestones: 0.0.120 , 0.0.121 on Jan 17, 2024
  9. modified the milestones: 0.0.122, 0.0.123 on Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions