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

Refactor filtered_graph #20

Open
kroese opened this issue May 31, 2022 · 0 comments
Open

Refactor filtered_graph #20

kroese opened this issue May 31, 2022 · 0 comments

Comments

@kroese
Copy link
Contributor

kroese commented May 31, 2022

During the creation of the filtered_graph it removes all channels below 500k, EXCEPT if they are neighbors of pub_key.

This makes it impossible to re-use this same graph for other nodes (when running the main code in a loop), since it is now specific to one particular node.

It would be much better if these neighbors were not added tofiltered_graph but instead to the graph.copy() later on in the processing.

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

No branches or pull requests

1 participant