1
0

lnrouter: rework blacklist a bit

separate from LiquidityHintMgr
This commit is contained in:
SomberNight
2023-08-15 14:59:10 +00:00
parent 68be768818
commit 1dd0608718
3 changed files with 42 additions and 28 deletions

View File

@@ -1204,12 +1204,13 @@ class Commands:
@command('n')
async def clear_ln_blacklist(self):
if self.network.path_finder:
self.network.path_finder.liquidity_hints.clear_blacklist()
self.network.path_finder.clear_blacklist()
@command('n')
async def reset_liquidity_hints(self):
if self.network.path_finder:
self.network.path_finder.liquidity_hints.reset_liquidity_hints()
self.network.path_finder.clear_blacklist()
@command('wnl')
async def close_channel(self, channel_point, force=False, wallet: Abstract_Wallet = None):