Skip to content

Bump LDK Node dependency to fe692f3e397b311489aff8b2dc00761f7d10a69a#183

Merged
benthecarman merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-04-bump-ldk-node
Apr 10, 2026
Merged

Bump LDK Node dependency to fe692f3e397b311489aff8b2dc00761f7d10a69a#183
benthecarman merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-04-bump-ldk-node

Conversation

@tnull

@tnull tnull commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ldk-reviews-bot

ldk-reviews-bot commented Apr 9, 2026

Copy link
Copy Markdown

I've assigned @benthecarman 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.

@benthecarman

Copy link
Copy Markdown
Collaborator

Tests don't compile

client_trusts_lsp = false

# Allow the LSP clients to keep zero channel reserves, i.e., spend their full balance.
# Note this will potentially allow them to attempt cheating without risking financial penalty, so

@tankyleo tankyleo Apr 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: I find the word "potentially" to actually decrease the communicated level of risk in this sentence. In my mind there is no "potentially", zero-reserve allow free attempts at cheating, full stop :)

Ie say you exhaust your channel balance. Then you broadcast an old state with your balance at eg. 10_000sats. The counterparty claims back the 10_000sats. You've lost no funds in this attempt (it's free). With reserves on, you would have lost 1000 sats.

@tnull tnull Apr 9, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ie say you exhaust your channel balance

Heh, right there you have you're potentiality. I know, splitting hairs, but you started :)

Then you broadcast an old state with your balance at eg. 10_000sats. The counterparty claims back the 10_000sats. You've lost no funds in this attempt (it's free). With reserves on, you would have lost 1000 sats.

Sure, I'll drop the word if you find it makes a huge difference.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

any reason we don't just copy-paste the ldk-node docs/?

@tnull tnull Apr 9, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

any reason we don't just copy-paste the ldk-node docs/?

Well, for one you had outstanding nits that are might be pending to be addressed in a follow-up, as far as I understood? But, would you prefer that I just 1:1 copy the LDK Node docs?

@tnull tnull force-pushed the 2026-04-bump-ldk-node branch from 449bada to 7f717b8 Compare April 9, 2026 17:09
@tnull

tnull commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator Author

Tests don't compile

Should be fixed.

@benthecarman

Copy link
Copy Markdown
Collaborator

Need to add allow_client_0reserve to the config in the e2e tests as well

@tnull tnull force-pushed the 2026-04-bump-ldk-node branch from 7f717b8 to b48beb4 Compare April 10, 2026 08:38
@tnull

tnull commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator Author

Need to add allow_client_0reserve to the config in the e2e tests as well

Ah, right.

@benthecarman benthecarman merged commit be0176b into lightningdevkit:main Apr 10, 2026
9 checks passed
rsafier pushed a commit to rsafier/ldk-server that referenced this pull request Apr 20, 2026
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.

4 participants