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

LSPS2: Expiring of requests #27

Open
johncantrell97 opened this issue Oct 25, 2023 · 0 comments
Open

LSPS2: Expiring of requests #27

johncantrell97 opened this issue Oct 25, 2023 · 0 comments
Labels

Comments

@johncantrell97
Copy link
Contributor

There is this concept of valid_until in the opening fee params that specifies a datetime when this particular jit channel request becomes invalid.

We currently are not expiring requests. We are only checking the validity at the time the buy request is made. At a minimum we need:

  1. A way to poll or regularly check if requests we are waiting on payment for have expired.
  2. When htlc_interception happens we should make sure the request is still valid
@tnull tnull changed the title Expiring of requests LSPS2: Expiring of requests Oct 30, 2023
@tnull tnull added the LSPS2 label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants