Skip to content

Make expiry_secs optional for bolt11-receive - #85

Merged
benthecarman merged 1 commit into
lightningdevkit:mainfrom
elnosh:expiry-secs-optional
Dec 13, 2025
Merged

Make expiry_secs optional for bolt11-receive#85
benthecarman merged 1 commit into
lightningdevkit:mainfrom
elnosh:expiry-secs-optional

Conversation

@elnosh

@elnosh elnosh commented Dec 13, 2025

Copy link
Copy Markdown
Contributor

Use a default - kind of annoying that is required

@ldk-reviews-bot

ldk-reviews-bot commented Dec 13, 2025

Copy link
Copy Markdown

👋 Thanks for assigning @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
benthecarman self-requested a review December 13, 2025 19:28
Comment thread ldk-server-cli/src/main.rs Outdated
const DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA: u32 = 1008;
const DEFAULT_MAX_PATH_COUNT: u32 = 10;
const DEFAULT_MAX_CHANNEL_SATURATION_POWER_OF_HALF: u32 = 2;
const DEFAULT_EXPIRY_SECS: u32 = 3600;

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.

can we do default to 86_400

@elnosh
elnosh force-pushed the expiry-secs-optional branch from 4451d45 to 28d1490 Compare December 13, 2025 19:36

@benthecarman benthecarman left a comment

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.

thanks!

@benthecarman
benthecarman merged commit a8e25f4 into lightningdevkit:main Dec 13, 2025
7 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.

3 participants