Skip to content

Bump LDK Node dependency to fe692f3e397b311489aff8b2dc00761f7d10a69a#183

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

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

Conversation

@tnull
Copy link
Copy Markdown
Collaborator

@tnull tnull commented Apr 9, 2026

No description provided.

@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 9, 2026

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
Copy link
Copy Markdown
Contributor

@tankyleo tankyleo Apr 9, 2026

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.

Copy link
Copy Markdown
Collaborator Author

@tnull tnull Apr 9, 2026

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/?

Copy link
Copy Markdown
Collaborator Author

@tnull tnull Apr 9, 2026

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

tnull commented Apr 9, 2026

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

tnull commented Apr 10, 2026

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
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