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

Add the disable in nodes policy for more accuracy in directed graph #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ta99i
Copy link

@ta99i ta99i commented Oct 20, 2024

modified:   lntopo/parser.py
modified:   lntopo/timemachine.py

Added the disable attribute to the nodes policy data structure.
    The disable parameter is derived from the channel_flags field, specifically using bit position 1, as described in the BOLT 7 specification.
    This change allows for better representation of disabled or inactive channels in the directed graph, ensuring that the graph accurately reflects real-time network conditions.

	modified:   lntopo/parser.py
	modified:   lntopo/timemachine.py
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

Successfully merging this pull request may close these issues.

1 participant