cln/plugins/askrene
Rusty Russell 35e703bfe1 askrene: don't crash if refining flow which has capacity greaater than max it should have.
```
1767724611265   2026-01-06T18:36:51.265Z                plugins/libplugin.c:1073
1767724611265   2026-01-06T18:36:51.265Z        0x55fc0c1428ac handle_rpc_reply
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/askrene.c:801
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c13174c listpeerchannels_done
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/askrene.c:669
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c130f55 do_getroutes
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/mcf.c:1636
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c138bd7 default_routes
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/mcf.c:1415
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c1382ec linear_routes
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/refine.c:510
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c13b110 refine_flows
1767724611264   2026-01-06T18:36:51.264Z                plugins/askrene/refine.c:449
1767724611264   2026-01-06T18:36:51.264Z        0x55fc0c13ac9f increase_flows
1767724611264   2026-01-06T18:36:51.264Z                abort+0xde:0
```

Fixes: #8823
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: plugins: `askrene` can crash on a corner case in increase_flows.
2026-01-14 17:06:02 +10:30
..
test Makefile: create a library containing common, wire and bitcoin objects. 2025-10-23 06:44:04 +10:30
algorithm.c askrene: bugfix queue overflow 2024-11-21 16:17:52 +10:30
algorithm.h askrene: add mcf_refinement to the public API 2024-11-21 16:17:52 +10:30
askrene.c gossipd: don't shortcut dying phase for local channels. 2026-01-08 22:33:19 +10:30
askrene.h askrene: implement 10-second deadline. 2025-11-03 12:54:37 +10:30
datastore_wire.c askrene: move datastore wire functions into separate file for lightning-downgrade to use. 2025-11-28 09:16:53 +10:30
datastore_wire.h askrene: move datastore wire functions into separate file for lightning-downgrade to use. 2025-11-28 09:16:53 +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: add optional layers to reservations. 2025-11-17 13:52:54 +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: rework the caller of the MCF solver 2025-08-08 14:07:51 +09:30
flow.h askrene: expose fmt_flow_full and make more generic. 2025-01-28 10:53:22 +10:30
graph.c askrene: remove allocation checks 2024-11-21 16:17:52 +10:30
graph.h askrene: small fixes suggested by Rusty Russell 2024-11-21 16:17:52 +10:30
layer.c askrene: move datastore wire functions into separate file for lightning-downgrade to use. 2025-11-28 09:16:53 +10:30
layer.h askrene: add askrene-bias-node rpc 2025-11-13 15:15:27 +10:30
Makefile askrene: move datastore wire functions into separate file for lightning-downgrade to use. 2025-11-28 09:16:53 +10:30
mcf.c askrene: fix payment crash 2026-01-13 15:16:46 +10:30
mcf.h askrene: implement 10-second deadline. 2025-11-03 12:54:37 +10:30
priorityqueue.c askrene: add priorityqueue 2024-11-21 16:17:52 +10:30
priorityqueue.h askrene: add priorityqueue 2024-11-21 16:17:52 +10:30
refine.c askrene: don't crash if refining flow which has capacity greaater than max it should have. 2026-01-14 17:06:02 +10:30
refine.h askrene: remove now-unused bottleneck_idx from flow_max_deliverable. 2025-11-17 10:56:18 +10:30
reserve.c askrene: add optional layers to reservations. 2025-11-17 13:52:54 +10:30
reserve.h askrene: add optional layers to reservations. 2025-11-17 13:52:54 +10:30