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

lnd: generate default macaroons independently #7592

Merged

Commits on Apr 26, 2023

  1. lnd: generate default macaroons independently

    This modifies the `genMacaroons` logic to indepently check for each of
    the three default macaroons (admin, readonly, invoice) and generate
    whichever are missing. Previously, this was an all or nothing routine.
    In other words, either all three didn't exist on disk and all three are
    created, or no macaroons are created. Although that works for the first
    run of a new node, it can result in inconsistent states if only one or
    two of the macaroons is deleted.
    
    See lightningnetwork#7566.
    sangaman committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    16463d4 View commit details
    Browse the repository at this point in the history