plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Let autopilot adjust routing fees

Open renepickhardt opened this issue 6 years ago • 2 comments

In this stack exchange question https://bitcoin.stackexchange.com/questions/87488/why-is-my-lighting-node-not-routing-any-transaction/87490#87490 a lnd user assumed that the lnd autopilot would also automatically set the best routing fees.

As I wanted to change the centrality measure of lib_autopilot.py anyway to be estimated on the fee graph. While doing this the autopilot plugin could adjust/suggest the fees for each channel.

Actually it could also be a separate plugin.

renepickhardt avatar May 05 '19 22:05 renepickhardt

Hey Rene, I was also thinking about this. It should be a standalone Plugin, because it is useful without autopilot and also the autopilot should not become too monolithic.

m-schmoock avatar May 06 '19 01:05 m-schmoock

I broadly agree that having a separate plugin for this would be better, though I imagine that the autopilot would want to get similar data/statistics to drive its channel heuristics. Perhaps the data gathering could be in a common library that the feeset and autopilot plugins use.

ZmnSCPxj avatar May 08 '19 12:05 ZmnSCPxj