offers: loosen payment_constraints on invoices' blinded paths. #8500
+18
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In practice, we were too strict. Here's Phoenix paying my node via another node:
We add 6 blocks, but this is supposed to be the max allowed. Increase it to 1008, to allow shadow padding. Here are the CLTV delays across advertized channels in the network: most are far less than this:
Count Delay
...
899 18
602 20
...
4352 34
...
15256 40
...
26793 80
...
9527 100
...
14303 144
...
105 288
...
12 500
...
1 1900
1 2016
Fixes: #7718