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

Configure dust in flight threshold #1985

Merged
merged 18 commits into from
Oct 8, 2021
Merged

Configure dust in flight threshold #1985

merged 18 commits into from
Oct 8, 2021

Commits on Oct 5, 2021

  1. Add max dust htlc exposure config field

    This configuration field lets node operators decide on the amount of dust
    htlcs that can be in-flight in each channel.
    
    In case the channel is force-closed, up to this amount may be lost in
    miner fees.
    
    When sending and receiving htlcs, we check whether they would overflow
    our configured dust exposure, and fail them instantly if they do.
    t-bast committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    fb37979 View commit details
    Browse the repository at this point in the history
  2. Add option to force-close after fee update

    A large `update_fee` may overflow our dust exposure by removing from the
    commit tx htlcs that were previously untrimmed.
    
    Node operators can choose to automatically force-close when that happens,
    to avoid risking losing large dust amounts to miner fees.
    t-bast committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    e6176ff View commit details
    Browse the repository at this point in the history
  3. Add release notes

    t-bast committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    155f2bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca14cd3 View commit details
    Browse the repository at this point in the history
  5. fixup! Add release notes

    t-bast committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    d9d30c7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c28d2c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Configuration menu
    Copy the full SHA
    68710eb View commit details
    Browse the repository at this point in the history
  2. Address PR comments

    t-bast committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    d0ffd73 View commit details
    Browse the repository at this point in the history
  3. Add more tests

    t-bast committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    feffafd View commit details
    Browse the repository at this point in the history
  4. fixup! Address PR comments

    t-bast committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    e94b631 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65c02c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3ea51a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Properly handle concurrent updates

    And add many tests for the corresponding scenarios.
    t-bast committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    15214ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    612da65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    647fa4d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecc47cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de2b125 View commit details
    Browse the repository at this point in the history
  6. Move reduce to DustExposure

    t-bast committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    ca5acf3 View commit details
    Browse the repository at this point in the history