add ignore_fees strategy

This commit is contained in:
Sander van Grieken 2022-11-21 23:12:50 +01:00 committed by accumulator
parent de5fc6a87f
commit efbb760465

View file

@ -64,6 +64,10 @@ class StrategyDelegate:
def strategy_ignore(channel, policy, **kwargs):
return (None, None, None, None, None)
@strategy(name = 'ignore_fees')
def strategy_ignore_fees(channel, policy, **kwargs):
return (None, None)
@strategy(name = 'static')
def strategy_static(channel, policy, **kwargs):
return (policy.getint('base_fee_msat'), policy.getint('fee_ppm'))