Skip to content

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Dec 22, 2023

@endothermicdev discovered that lnd nodes still default to a final CLTV delta of 9 blocks rather than the 18 blocks (3 years ago: lightning/bolts#785).

We were always adding this optional parameter during the migration from default=9 to default=18 to prevent ambiguity, but it turns out that migration phase is not complete, and there are old implementations still defaulting to 9 blocks.

This hotfix just undoes that optional parameter and now always includes it.

nepet and others added 6 commits November 28, 2023 12:58
Turns out we were sending feerate updates to daemons that do not
understand it. Don't do that!

Closes #6932

Changelog-Fixed: channeld: We could crash `closingd` by sending it a `channeld` message
As reported by @wtogami, LND nodes are using a default
min_final_cltv_expiry_delta of 9, which makes them unable to pay invoices
using the modern spec default of 18.  Forcing inclusion of the c field
allows interoperability until broader support of the 18 block default.
Fixes: #6956

Changelog-Fixed: Default bolt11 invoices are payable by LND nodes.
@cdecker
Copy link
Member Author

cdecker commented Dec 22, 2023

I got the following reprobuild results after tagging 76cd323 as v23.11.2 and then running the reprobuild instructions from #6952 since they were not matching.

e9da0fb45c02d339aeb1bdef600abb74f53e25f8e85c9058e8de16518ad189d2  release/clightning-v23.11.2-Fedora-28-amd64.tar.gz
037fe3fcea2e292d9e41fad8377f4bfcfa6eaa3067b67baea61f0d407721d7dc  release/clightning-v23.11.2-Ubuntu-20.04.tar.xz
5a319a29b36c4ac5f55013ec75eb3591c17e86b8b0801f5b3778312946022822  release/clightning-v23.11.2-Ubuntu-22.04.tar.xz
7fe0d95e62394020288830ebb0a90ca68ebcd785f75bd0c1a4b8c5bca630e100  release/clightning-v23.11.2.zip

Now recompiling from scratch to verify before signing and uploading.

@cdecker cdecker closed this Dec 23, 2023
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.

4 participants