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

Multiple improvements #115

Merged
merged 17 commits into from
Jul 4, 2024
Merged

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    b1aea40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfb6389 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a73ea6c View commit details
    Browse the repository at this point in the history
  4. use onchain fee estimate of lnd instead of electrum

    We are using the onchain fee estimator of lnd now. Internally, lnd uses
    either bitcoind or a fee url for the estimation.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    481ccf5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    495b27e View commit details
    Browse the repository at this point in the history
  6. Circuitbreaker support

    It is now possible to control the node limits of a circuitbreaker
    instance dynamically.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6ddcd1d View commit details
    Browse the repository at this point in the history
  7. Add an onchain matcher

    The onchain matcher offers the possibility to enforce policies
    depending on the current onchain fees. The confirmation target
    can be configured by the user (default: 6).
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    401101f View commit details
    Browse the repository at this point in the history
  8. Add synced_to_chain to the onchain matcher

    Add synced_to_chain as a criterion to the onchain matcher.
    synced_to_chain becomes false if LND is not synced to the
    chain for more than 5 minutes. In the past, this was an
    indicator of a severe issue that required a hotfix for lnd.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2b103c8 View commit details
    Browse the repository at this point in the history
  9. Consideration of the unsettled balance

    We add the amounts of pending htlcs to the local and remote balance of
    a channel. Incoming htlcs are added to the remote balance and outgoing
    htlcs to the local balance.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2499f74 View commit details
    Browse the repository at this point in the history
  10. Consideration of the commit fee in the balance calculation

    We take the commit fee into account when calculating the local balance
    and the remote balance, depending on who opened the channel. This
    stabilizes the calculation of balances and ratios in times of volatile
    onchain fees.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2b67df5 View commit details
    Browse the repository at this point in the history
  11. Rules based on pending htlcs

    We include rules based on either the number of pending HTLCs or the
    next expiry.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    81b717e View commit details
    Browse the repository at this point in the history
  12. Consideration of the local constraints during channel update

    Local constraints are used to floor/cap the min_htlc_mat/max_htlc_msat.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    35c9bf2 View commit details
    Browse the repository at this point in the history
  13. Matchers are now only called once

    Until now, it could happen with several attributes that the matcher
    for a namespace was called several times unnecessarily.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    fd1a164 View commit details
    Browse the repository at this point in the history
  14. Introducing: inbound_level_ppm and min_inbound_fee_ppm_delta

    1) `min_inbound_fee_ppm_delta` is the necessary minimum change in the
       inbound_fee_ppm. The parameter uses `min_fee_ppm_delta` as the default.
    2) We also ensure that the inbound fee rates are only changed if the
       change is sufficiently large.
    3) If `inbound_level_ppm` is set, `inbound_fee_ppm` is calculated
       with `min(inbound_level_ppm - fee_ppm; 0)`.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7f65145 View commit details
    Browse the repository at this point in the history
  15. Very verbose mode

    In this new mode we print more information than in verbose mode.
    Every matched policy is printed. That can be useful if one use a
    config with many non final policies.
    feelancer21 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    69d721f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ce993d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    f3b7b44 View commit details
    Browse the repository at this point in the history