Skip to content

Allow visibility into the holding cell via PendingHTLCsForwardable #3769

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

Open
tnull opened this issue May 6, 2025 · 2 comments
Open

Allow visibility into the holding cell via PendingHTLCsForwardable #3769

tnull opened this issue May 6, 2025 · 2 comments

Comments

@tnull
Copy link
Contributor

tnull commented May 6, 2025

Depending on the source/destination of HTLCs it might not make sense to delay forwarding at all (as there wouldn't be any privacy benefits under certain circumstances in practice). We should allow users to decide whether or not to apply the forwarding delay depending on the HTLCs in the holding cell.

@MaxFangX
Copy link
Contributor

MaxFangX commented May 6, 2025

👍 This would allow our LSP to use a shorter forwarding delay (or none at all) if the HTLC originates from a Lexe user or is forwarded to a Lexe user, as there is no privacy benefit in these cases which means we can optimize for payment latency. We'd just add the delay when our LSP forwards payments between non-Lexe nodes.

@TheBlueMatt
Copy link
Collaborator

What circumstances are you thinking about here? We currently delay forwarding and receiving each by one event cycle. If an LSP wants to not delay payments I'm not sure them delaying forwards but not payments is really worth it.

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

No branches or pull requests

3 participants