core-lightning/plugins/askrene
Rusty Russell bcc8bd59c8 askrene: don't *completely* ignore fees to start.
I noticed that increasing mu a little bit sometimes made a big difference,
because by completely ignoring fees we were choosing the worst of two channels
in some cases.

Start at 1% fees; this saves a lot on initial fees in this test!

Here's the new stats on mu levels:

     96  mu=1
     90  mu=10
     41  mu=20
     30  mu=30
     24  mu=40
     19  mu=50
     22  mu=60
      8  mu=70
     95  mu=80
     19  mu=90

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: `askrene` is now better at finding low-fee paths.
2024-10-15 09:58:04 +10:30
..
askrene.c askrene: don't *completely* ignore fees to start. 2024-10-15 09:58:04 +10:30
askrene.h askrene: give notifications back to caller as we go. 2024-10-15 09:58:04 +10:30
dijkstra.c askrene: copy flow and dijkstra from renepay. 2024-08-07 20:35:30 +09:30
dijkstra.h askrene: copy flow and dijkstra from renepay. 2024-08-07 20:35:30 +09:30
explain_failure.c askrene: give notifications back to caller as we go. 2024-10-15 09:58:04 +10:30
explain_failure.h askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30
flow.c askrene: add a "refining" step to add fees and handle corner cases. 2024-09-19 12:16:53 +09:30
flow.h askrene: add a "refining" step to add fees and handle corner cases. 2024-09-19 12:16:53 +09:30
layer.c askrene: more code tweaks on feedback from Lagrang3. 2024-10-04 11:27:53 +09:30
layer.h askrene: more code tweaks on feedback from Lagrang3. 2024-10-04 11:27:53 +09:30
Makefile askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30
mcf.c askrene: calculate k value dynamically, using medians. 2024-10-15 09:58:04 +10:30
mcf.h askrene: debug and check we actually reduce fees when mu increase. 2024-10-15 09:58:04 +10:30
refine.c askrene: don't give up if we hit htlc_max and have no other flows. 2024-10-15 09:58:04 +10:30
refine.h askrene: move flow refining code to its own file. 2024-09-19 12:16:53 +09:30
reserve.c askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30
reserve.h askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30