Skip to content

lnwire: increase onion failure message length to 1024#6916

Draft
joostjager wants to merge 3 commits intolightningnetwork:masterfrom
bottlepay:increase-failure-len
Draft

lnwire: increase onion failure message length to 1024#6916
joostjager wants to merge 3 commits intolightningnetwork:masterfrom
bottlepay:increase-failure-len

Conversation

@joostjager
Copy link
Contributor

@joostjager joostjager commented Sep 14, 2022

Implements lightning/bolts#1021

This can only be merged when most senders accept longer failure messages (#6913).

Longer failure messages are unreadable for older senders. They won't be able to properly penalize the error source.

This fixes an incompatibility where lnd enforces a strict 256 byte
failure message, where as the spec sets this only as the recommended
length.
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.

1 participant