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

7298 #33

Closed
wants to merge 11 commits into from
Closed

7298 #33

wants to merge 11 commits into from

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    a505c6d View commit details
    Browse the repository at this point in the history
  2. lnwire: create common encoder/decoder for raw feature vectors

    We'll need to pack feature vectors for route blinding, so we pull
    the encoding/decoding out into separate functions (currently
    contained in ChannelType). Though it's more lines of code, we keep
    most of the ChannelType assertions so that we strictly enforce
    use of the alias.
    carlaKC committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b1ffe5c View commit details
    Browse the repository at this point in the history
  3. lnwire: add TLV encoding/decoding for blinded route data blobs

    This commit adds encoding and decoding for blinded route data blobs.
    TLV fields such as path_id (which are only used for the final hop)
    are omitted to minimize the change size.
    carlaKC committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    50a1385 View commit details
    Browse the repository at this point in the history
  4. multi: add validation of blinded route encrypted data

    Co-authored-by: Calvin Zachman <calvin.zachman@protonmail.com>
    carlaKC and calvinrzachman committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    57e56e0 View commit details
    Browse the repository at this point in the history
  5. lnwire: add blinding point to update_add_htlc TLVs

    Add blinding points to update_add_htlc. This TLV will be set for
    nodes that are relaying payments in blinded routes that are _not_
    the introduction node.
    carlaKC committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7667bda View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6949497 View commit details
    Browse the repository at this point in the history
  7. multi: add blinding point to payment descriptor and persist

    This commit adds an optional blinding point to payment descriptors and
    persists them in our HTLC's extra data. A get/set pattern is used to
    populate the ExtraData on our disk representation of the HTLC so that
    callers do not need to worry about the underlying storage detail.
    carlaKC committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    1d19ef2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    57d08d0 View commit details
    Browse the repository at this point in the history
  9. htlcswitch: add incoming amount and to decode hop iterator request

    When we have payments inside of a blinded route, we need to know
    the incoming amount to be able to back-calculate the amount that
    we need to forward using the forwarding parameters provided in the
    blinded route encrypted data. This commit adds the payment amount
    to our DecodeHopIteratorRequest so that it can be threaded down to
    payment forwarding information creation in later commits.
    carlaKC committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    5a19f86 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2afd3aa View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8a37386 View commit details
    Browse the repository at this point in the history