diff --git a/CHANGELOG.md b/CHANGELOG.md index 69142fd..10c5ce2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. See [standa ## [2.8.0](https://github.com/niteshbalusu11/lndboss/compare/v2.7.1...v2.8.0) (2022-10-25) +- Added support for auto fee policy based on channel inactivity periods. + ### [2.7.1](https://github.com/niteshbalusu11/lndboss/compare/v2.7.0...v2.7.1) (2022-10-23) - Fixed a bug where fee policy updates don't work for new channels. diff --git a/src/client/pages/schedulers/FeesScheduler.tsx b/src/client/pages/schedulers/FeesScheduler.tsx index 3866d75..3129836 100644 --- a/src/client/pages/schedulers/FeesScheduler.tsx +++ b/src/client/pages/schedulers/FeesScheduler.tsx @@ -281,6 +281,26 @@ const FeesScheduler = () => { onChange={(event, newValue) => handleRatioChange(index, event, newValue)} /> + ( + + )} + onChange={(event, newValue) => handleInactivityPeriodChange(index, event, newValue)} + /> + { onChange={(event, newValue) => handleMaxHtlcRatioChange(index, event, newValue)} /> - ( - - )} - onChange={(event, newValue) => handleInactivityPeriodChange(index, event, newValue)} - /> - removeFields(index)} style={styles.iconButton}> @@ -437,6 +437,15 @@ const Instructions = () => { bubble. +
+

Inactivity Period (optional):

+
  • Set fee policies based on how many days a channel was inactive.
  • +
  • Example: 30 means peers/tags selected had no route for 30 days.
  • +
  • + Works along with ratio ranges, the condition will always be outbound/capacity ratio && inactivity period when + executing. +
  • +

    Base Fees (msat, optional):

  • Base fees in milli sats to apply, multiple values can be set in the same field.