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

Normalizes node features so they use LDK NodeFeatures #77

Merged
merged 1 commit into from
Aug 30, 2023

Commits on Aug 25, 2023

  1. Normalizes node features so they use LDK NodeFeatures

    Currently we were using a pretty hacky way of parsing LND features that only
    parsed the keysend feature (given is the only we care about atm).
    
    This PR properly loads the feature vector returned by LND's GetNodeInfo and
    parses it so a complete NodeFeatures object can be constructed.
    
    Also sets NodeInfo::features to NodeFeatures for consistency
    
    This is based on LDK's code for parsing features, there's currently an open
    PR to merge this upstream, so we can simplify if that gets merged.
    sr-gi committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    08f0cca View commit details
    Browse the repository at this point in the history