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 funding_fee_credit #2875

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Commits on Sep 25, 2024

  1. Add funding_fee_credit feature

    We add an optional feature that lets on-the-fly funding clients accept
    payments that are too small to pay the fees for an on-the-fly funding.
    When that happens, the payment amount is added as "fee credit" without
    performing an on-chain operation. Once enough fee credit has been
    obtained, we can initiate an on-chain operation to create a channel or
    a splice by paying part of the fees from the fee credit.
    
    This feature makes more efficient use of on-chain transactions by
    trusting that the seller will honor our fee credit in the future. The
    fee credit takes precedence over other ways of paying the fees (from
    the channel balance or future HTLCs), which guarantees that the fee
    credit eventually converges to 0.
    t-bast committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    22b33fc View commit details
    Browse the repository at this point in the history
  2. test fixup

    pm47 authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    c323932 View commit details
    Browse the repository at this point in the history