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

Fix localpay wumbo #5746

Merged
merged 2 commits into from
Nov 30, 2022
Merged

Commits on Nov 30, 2022

  1. pytest: test for wumbo direct payments.

    We should be able to make larger payments if we're directly connected.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell authored and cdecker committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    cfcbb66 View commit details
    Browse the repository at this point in the history
  2. lightningd: don't cap spendable_msat/receivable_msat for wumbo channels.

    If we both support large channels, we can actually send giant HTLCs.
    
    This, in turn, fixes pay (which relies on this field!).
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    Changelog-Fixed: Plugins: `pay` now knows it can use locally-connected wumbo channels for large payments.
    Fixes: ElementsProject#5250
    Fixes: ElementsProject#5417
    rustyrussell authored and cdecker committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    6c42c8b View commit details
    Browse the repository at this point in the history