lightningdevkit / ldk-node

A ready-to-go node implementation built using LDK.
Other
140 stars 72 forks source link

Expose `NetworkGraph` accessors #293

Closed tnull closed 3 months ago

tnull commented 4 months ago

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 commented 3 months ago

Rebased on #281 to resolve minor conflicts with main.

tnull commented 3 months ago

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

tnull commented 3 months ago

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