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

routing: repopulate missing edges in graph for local channels #8768

Commits on May 20, 2024

  1. routing: repopulate missing edges in graph for local channels

    Some channels missed corresponding edges in the graph database. This had a few
    implications:
    - `lncli getchaninfo` would return "edge not found"
    - forwarding htlcs over a channel with a missing edge would use the default
      channel policy
    - `lncli updatechanpolicy` would fail to the edge missing
    
    This commit adds a flag to LND startup: `repopulate-missing-edges`. When LND is
    started with this flag, any missing edges will be prefilled in the database with
    the default routing policy. This allows the user to later update the channel
    policy of these channels.
    
    Note that 784dc8d partly addresses the issue
    for new channels, but old channels were still affected by this issue.
    JssDWt committed May 20, 2024
    Configuration menu
    Copy the full SHA
    c3b1d35 View commit details
    Browse the repository at this point in the history