Skip to content

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Dec 1, 2025

This simply adopts the changes of rust-lightning#4250.

This simply adopts the changes of rust-lightning#4250.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Dec 1, 2025

I've assigned @valentinewallace as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

///
/// [`Node::list_channels`]: crate::Node::list_channels
#[derive(Debug, Clone)]
pub struct ChannelDetails {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding of LDK Node, why do we duplicate this struct here vs using the rust-lightning type?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason is mostly bindings, as we don't have a good way to expose all fields on the LDK variant (e.g., InitFeatures, but we also have our own version of config: ChannelConfig as the LDK enum MaxDustHTLCExposure has tuple enum variants which our bindings generator uniffi doesn't support). It's also due to the docs on ChannelDetails referring to LDK APIs that aren't exposed in LDK Node. And, lastly, in LDK Node we also made the decision to not expose LDK's forked OutPoint variant but rather consistently only ever expose bitcoin::OutPoint.

@tnull tnull merged commit 650fd19 into lightningdevkit:main Dec 2, 2025
12 of 18 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.

3 participants