-
@ Javier
2025-05-02 18:33:38lightning #fees #lnd #node
I'm really tired of bad node operator that do not take advantage of everything we have and expect for the LN network to work properly. If you have a node, please do this.
I recommend having an automatic fee automator like charge-lnd so channels don't become stagnant:
https://github.com/accumulator/charge-lnd
And put some negative inbound fees for channels with no liquidity:
https://docs.lightning.engineering/lightning-network-tools/lnd/inbound-channel-fees
You'll notice you will route A LOT MORE.
Any question I will respond below.
A good starting configuration:
========
``` [encourage-routing]
'autobalance' (lower fees so using outbound is more attractive)
chan.min_ratio = 0.98 inbound_base_fee_msat = 0 inbound_fee_ppm = 0 strategy = static base_fee_msat = 0 fee_ppm = 0
[discourage-routing]
'autobalance' (higher fees so using outbound is less attractive)
chan.max_ratio = 0.2 chan.min_ratio = 0.05 inbound_base_fee_msat = -64 inbound_fee_ppm = -16 strategy = static base_fee_msat = 1_000 fee_ppm = 700
[all-liquidity-is-theirs] chan.max_ratio = 0.00 inbound_base_fee_msat = -128 inbound_fee_ppm = -128 strategy = static base_fee_msat = 100_000 fee_ppm = 5000
[discourage-routing-extreme] chan.max_ratio = 0.05 inbound_base_fee_msat = -128 inbound_fee_ppm = -32 strategy = static base_fee_msat = 10_000 fee_ppm = 2500
[proportional]
'proportional' can also be used to auto balance (lower fee rate when low remote balance & higher rate when higher remote balance)
fee_ppm decreases linearly with the channel balance ratio (min_fee_ppm when ratio is 1, max_fee_ppm when ratio is 0)
chan.min_ratio = 0.2 chan.max_ratio = 0.98 strategy = proportional min_fee_ppm = 8 max_fee_ppm = 160 inbound_base_fee_msat = 0 inbound_fee_ppm = 0 base_fee_msat = 128 min_fee_ppm_delta=16 ```
originally posted at https://stacker.news/items/969651