Skip to content

Expose NetworkGraph accessors#293

Merged
tnull merged 2 commits into
lightningdevkit:mainfrom
tnull:2024-05-expose-network-graph
Jun 12, 2024
Merged

Expose NetworkGraph accessors#293
tnull merged 2 commits into
lightningdevkit:mainfrom
tnull:2024-05-expose-network-graph

Conversation

@tnull
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

tnull commented Jun 11, 2024

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

Comment thread src/graph.rs
@tnull tnull merged commit 9c44041 into lightningdevkit:main Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants