Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shaavan/rust-lightning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: pr4152.11
Choose a base ref
...
head repository: shaavan/rust-lightning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pr4152.12
Choose a head ref
  • 6 commits
  • 10 files changed
  • 1 contributor

Commits on Dec 11, 2025

  1. Introduce Dummy Hop support in Blinded Path Constructor

    Adds a new constructor for blinded paths that allows specifying
    the number of dummy hops.
    This enables users to insert arbitrary hops before the real destination,
    enhancing privacy by making it harder to infer the sender–receiver
    distance or identify the final destination.
    
    Lays the groundwork for future use of dummy hops in blinded path construction.
    shaavan committed Dec 11, 2025
    Configuration menu
    Copy the full SHA
    2319bfe View commit details
    Browse the repository at this point in the history
  2. Refactor: Introduce ForwardInfo

    NextPacketDetails currently bundles four fields used to define the
    forwarding details for the packet. With the introduction of dummy
    hops, not all of these fields apply in those paths.
    
    To avoid overloading NextPacketDetails with conditional semantics, this
    refactor extracts the forwarding-specific pieces into a dedicated
    ForwardInfo struct. This keeps the data model clean, reusable, and
    makes the logic around dummy hops easier to follow.
    shaavan committed Dec 11, 2025
    Configuration menu
    Copy the full SHA
    09b1bbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9c0773 View commit details
    Browse the repository at this point in the history
  4. Update PaymentPath, and ClaimAlongRoute arguments

    Upcoming commits will need the ability to specify whether a blinded path
    contains dummy hops. This change adds that support to the testing
    framework ahead of time, so later tests can express dummy-hop scenarios
    explicitly.
    shaavan committed Dec 11, 2025
    Configuration menu
    Copy the full SHA
    8d6361a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    286e036 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4e7a39 View commit details
    Browse the repository at this point in the history
Loading