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

Add support for arbitrary length onion errors #2441

Merged
merged 2 commits into from
Nov 4, 2022

Commits on Sep 29, 2022

  1. Add support for arbitrary length onion errors

    The specification recommends using a length of 256 for onion errors, but
    it doesn't say that we should reject errors that use a different length.
    
    We may want to start creating errors with a bigger length than 256 if we
    need to transmit more data to the sender. In order to prepare for this,
    we keep creating 256-bytes onion errors, but allow receiving errors of
    arbitrary length.
    
    See the specification here: lightning/bolts#1021
    
    Fixes #2438
    t-bast committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    06267d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    5dd46b5 View commit details
    Browse the repository at this point in the history