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

BOLT 7: Onion message support (features 38/39) #759

Merged
merged 3 commits into from
Jul 31, 2023

Commits on Apr 2, 2023

  1. BOLT 4: onion message support.

    These use onion encoding for simple one-way messaging: there are no error returns.
    However, every onion uses route blinding *even if it doesn't need to*.
    
    You can prove what path was used to reach you by including `path_id` in the
    encrypted_data_tlv.
    
    Note that this doesn't actually define the payload we're transporting:
    that's explictly defined to be payloads in the 64-255 range.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    8b4aa86 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. fixup! BOLT 4: onion message support.

    Typo fixes from @t-bast, @thomash-acinq and @remyers.
    rustyrussell committed May 11, 2023
    Configuration menu
    Copy the full SHA
    27d6dc2 View commit details
    Browse the repository at this point in the history
  2. fixup! BOLT 4: onion message support.

    @thomash-acinq points out:
    
    1. We absolutely can put other fields in `encrypted_data_tlv`, esp. padding, and test vectors do this.
    2. Presumably it was supposed to refer to onionmsg_tlv, so fix that.
    3. And of course we need to allow payload fields!
    rustyrussell committed May 11, 2023
    Configuration menu
    Copy the full SHA
    217a99e View commit details
    Browse the repository at this point in the history