Skip to content

lnwire: increase onion failure message length to 1024#6916

Closed
joostjager wants to merge 3 commits into
lightningnetwork:masterfrom
bottlepay:increase-failure-len
Closed

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

Conversation

@joostjager

@joostjager joostjager commented Sep 14, 2022

Copy link
Copy Markdown
Contributor

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