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

Expose NetworkGraph accessors #293

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented May 20, 2024

Based on #281.
Based on #141.

Previously, we omitted exposing details for the sake of simplicity. However, querying the network graph has a lot of utility, and is also very useful for debugging purposes.

Here, we therefore give users access to the network graph, and expose slightly simplified versions of ChannelInfo/NodeInfo in bindings.

@tnull tnull mentioned this pull request May 20, 2024
19 tasks
@tnull tnull added this to the 0.3 milestone May 20, 2024
@tnull tnull force-pushed the 2024-05-expose-network-graph branch from 44596dc to cdc3622 Compare June 1, 2024 08:01
@tnull
Copy link
Collaborator Author

tnull commented Jun 1, 2024

Rebased on #281 to resolve minor conflicts with main.

@tnull tnull force-pushed the 2024-05-expose-network-graph branch 2 times, most recently from 6f2d1ad to 862d7fd Compare June 11, 2024 08:16
@tnull
Copy link
Collaborator Author

tnull commented Jun 11, 2024

Rebased on top of main to reduce stack height and allow parallel review.

@tnull tnull requested a review from arik-so June 11, 2024 08:32
@tnull tnull force-pushed the 2024-05-expose-network-graph branch from 862d7fd to 350c3a9 Compare June 11, 2024 08:40
tnull added 2 commits June 11, 2024 20:52
.. as we're about to expose a new `NetworkGraph` wrapper type.
Previously, we omitted exposing details for the sake of simplicity.
However, querying the network graph has a lot of utility, and is also
very useful for debugging purposes.

Here, we therefore give users access to the network graph, and expose
slightly simplified versions of `ChannelInfo`/`NodeInfo` in bindings.
@tnull tnull force-pushed the 2024-05-expose-network-graph branch from 350c3a9 to 35e4968 Compare June 11, 2024 18:52
@tnull
Copy link
Collaborator Author

tnull commented Jun 11, 2024

Rebased on main to resolve minor conflict after #141 landed.

@tnull tnull merged commit 9c44041 into lightningdevkit:main Jun 12, 2024
13 checks passed
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.

2 participants