lightningd / plugins

Community curated plugins for core-lightning
BSD 3-Clause "New" or "Revised" License
265 stars 129 forks source link

Let autopilot adjust routing fees #16

Open renepickhardt opened 5 years ago

renepickhardt commented 5 years ago

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.

m-schmoock commented 5 years ago

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.

ZmnSCPxj commented 5 years ago

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.