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

[feature]: Adopt CLTV Expiry for incoming HTLCs according to BOLT-02 #8323

Open
ziggie1984 opened this issue Dec 29, 2023 · 0 comments
Open
Labels
chain handling channel closing Related to the closing of channels cooperatively and uncooperatively contracts enhancement Improvements to existing features / behaviour

Comments

@ziggie1984
Copy link
Collaborator

BOLT 02 suggests a CLTV_Delta of 18 when an incoming HTLC we know the preimage of should be resolved onchain. We currently use 10. This was introduced in: lightning/bolts#785

I tried to also change it in #8308 but it broke too much tests therefore I am raising this issue separately to change it in its own PR further down the road.

@ziggie1984 ziggie1984 added the enhancement Improvements to existing features / behaviour label Dec 29, 2023
@Roasbeef Roasbeef added channel closing Related to the closing of channels cooperatively and uncooperatively contracts chain handling labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chain handling channel closing Related to the closing of channels cooperatively and uncooperatively contracts enhancement Improvements to existing features / behaviour
Projects
None yet
Development

No branches or pull requests

2 participants