Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor refactoring to #714 #715

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Oct 15, 2024

The first commit groups final expiry parameters and creates a symmetry between FinalCltvExpiryParams and RecipientCltvExpiryParams. It reduces the number of expiries in NodeParams which are currently a bit overwhelming.

The second commit reverts Bolt11Invoice.DEFAULT_EXPIRY_SECONDS to its spec value and defines a new typed parameter NodeParams.bolt11InvoiceExpiry.

pm47 added 2 commits October 15, 2024 14:02
Also, revert the change to `Bolt11Invoice.DEFAULT_EXPIRY_SECONDS`. This
value is from the spec and should be kept.
@t-bast
Copy link
Member

t-bast commented Oct 15, 2024

I cherry-picked the last two commits, and ignored the first one since I removed maxFinalExpiryDelta which didn't make sense.

@pm47 pm47 closed this Oct 15, 2024
@pm47 pm47 deleted the relax-on-the-fly-final-expiry-delta-pm branch October 18, 2024 11:45
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.

2 participants